共用方式為


MetadataAttribute.SortOrder Property

Definition

Specifies the sort order of the attribute among other attributes of the same entity and member type.

public:
 property int SortOrder { int get(); void set(int value); };
[System.Runtime.Serialization.DataMember(EmitDefaultValue=false, IsRequired=false)]
public int SortOrder { get; set; }
[<System.Runtime.Serialization.DataMember(EmitDefaultValue=false, IsRequired=false)>]
member this.SortOrder : int with get, set
Public Property SortOrder As Integer

Property Value

The sort order of the attribute among other attributes of the same entity and member type.

Attributes

Remarks

If the attribute is part of an attribute group then the sort order is the order within the attribute group.

Applies to