다음을 통해 공유


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

필드 또는 속성의 순서 가중치를 정의합니다.

적용 대상