AttributeRequiredLevel 列舉
Describes the requirement level for an attribute.
命名空間: Microsoft.Xrm.Sdk.Metadata
組件: Microsoft.Xrm.Sdk (在 Microsoft.Xrm.Sdk.dll 中)
語法
'宣告
<DataContractAttribute(Name:="AttributeRequiredLevel", Namespace:="https://schemas.microsoft.com/xrm/2011/Metadata")> _
Public Enumeration AttributeRequiredLevel
[DataContractAttribute(Name="AttributeRequiredLevel", Namespace="https://schemas.microsoft.com/xrm/2011/Metadata")]
public enum AttributeRequiredLevel
成員
成員名稱 | 描述 |
---|---|
ApplicationRequired | The attribute is required to have a value. Value = 2. |
None | No requirements are specified. Value = 0. |
Recommended | It is recommended that the attribute has a value. Value = 3. |
SystemRequired | The attribute is required to have a value. Value = 1. |
平台
Development Platforms
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Target Platforms
Windows Server 2008、Windows Server 2012、Windows 7
請參閱
參照
Microsoft.Xrm.Sdk.Metadata 命名空間
其他資源
Customize Entity Attribute Metadata
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.