Share via


MetadataAttribute.DataType Property

Gets or sets the data type of the attribute.

Namespace:  Microsoft.MasterDataServices.Services.DataContracts
Assembly:  Microsoft.MasterDataServices.Services.Contracts (in Microsoft.MasterDataServices.Services.Contracts.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)

Property Value

Type: Microsoft.MasterDataServices.Services.DataContracts.AttributeDataType
The data type of the attribute.

See Also

Reference

MetadataAttribute Class

Microsoft.MasterDataServices.Services.DataContracts Namespace