MetadataAttribute.SortOrder Property

Gets or sets the sort order of the attribute among other attributes of the same entity and member type.

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

Syntax

'Declaration
<DataMemberAttribute(IsRequired := False)> _
Public Property SortOrder As Integer 
    Get 
    Set
'Usage
Dim instance As MetadataAttribute 
Dim value As Integer 

value = instance.SortOrder

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

Property Value

Type: System.Int32
The sort order of the attribute among other attributes of the same entity and member type.

See Also

Reference

MetadataAttribute Class

Microsoft.MasterDataServices.Services.DataContracts Namespace