Language

OrderAttribute クラス

定義

フィールドまたはプロパティのオーダーウェイトを定義します。

[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
継承
OrderAttribute
属性

注釈

デフォルトでは注文の重みは0です。

コンストラクター

名前 説明
OrderAttribute(Int32)

フィールドまたはプロパティの順序重みを設定します

プロパティ

名前 説明
Order

フィールドまたはプロパティのオーダーウェイトを定義します。

適用対象