エクスポート (0) 印刷
すべて展開
EN
このコンテンツは設定された言語で表示できません。英語版のページが表示されます。

Attributes and Microsoft Dynamics CRM Types

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

The Microsoft Dynamics CRM types are found in Microsoft.Crm.Sdk.dll.

Use the CrmInputAttribute and CrmOutputAttribute classes to annotate input and output properties.

The following types do not require any additional attributes.

Type
CrmBoolean
CrmDateTime
CrmDecimal
CrmFloat
CrmMoney
CrmNumber
String
Picklist
Status

Example

The following example shows adding the input and output attributes to a CrmFloat property used in a custom workflow activity.

public static DependencyProperty myFloatProperty = DependencyProperty.Register("myFloat", typeof(CrmFloat), typeof(Microsoft.Crm.QA.Workflow.NoOpActivity));

[CrmInput("My Float")]
[CrmOutput("My Float Output")]
public CrmFloat myFloat
{
    get
    {
return (CrmFloat)base.GetValue(myFloatProperty);
    }
    set
    {
base.SetValue(myFloatProperty, value);
    }
}

Some types require additional tags to specify more information about the type. These are described in the following sections.

See Also

Concepts

Other Resources


© 2010 Microsoft Corporation. All rights reserved.


この情報は役に立ちましたか。
(残り 1500 文字)
フィードバックをいただき、ありがとうございました
表示:
© 2014 Microsoft