Sdílet prostřednictvím


OrderAttribute Třída

Definice

Definujte váhu pořadí pole nebo vlastnosti.

[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)]
[System.Serializable]
public class OrderAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)>]
[<System.Serializable>]
type OrderAttribute = class
    inherit Attribute
Public Class OrderAttribute
Inherits Attribute
Dědičnost
OrderAttribute
Atributy

Poznámky

Ve výchozím nastavení je váha objednávky 0.

Konstruktory

OrderAttribute(Int32)

Nastaví váhu objednávky pole nebo vlastnosti.

Vlastnosti

Order

Definujte váhu pořadí pole nebo vlastnosti.

Platí pro