Share via


MetadataAttribute.DataType Property

Gets or sets the AttributeDataType.

Namespace:  Microsoft.MasterDataServices.Services.DataContracts
Assembly:  Microsoft.MasterDataServices.Services (in Microsoft.MasterDataServices.Services.dll)

Syntax

'Declaration
<DataMemberAttribute(IsRequired := False, EmitDefaultValue := False)> _
Public Property DataType As AttributeDataType
    Get
    Set
'Usage
Dim instance As MetadataAttribute
Dim value As AttributeDataType

value = instance.DataType

instance.DataType = value
[DataMemberAttribute(IsRequired = false, EmitDefaultValue = false)]
public AttributeDataType DataType { get; set; }
[DataMemberAttribute(IsRequired = false, EmitDefaultValue = false)]
public:
property AttributeDataType DataType {
    AttributeDataType get ();
    void set (AttributeDataType value);
}
[<DataMemberAttribute(IsRequired = false, EmitDefaultValue = false)>]
member DataType : AttributeDataType with get, set
function get DataType () : AttributeDataType
function set DataType (value : AttributeDataType)