FieldBuilder.GetCustomAttributes 메서드

정의

해당 필드에 대해 정의된 사용자 지정 특성을 반환합니다.

오버로드

GetCustomAttributes(Boolean)

해당 필드에 대해 정의된 사용자 지정 특성을 모두 반환합니다.

GetCustomAttributes(Type, Boolean)

지정된 형식으로 식별되는 해당 필드에 대해 정의된 사용자 지정 특성을 모두 반환합니다.

GetCustomAttributes(Boolean)

Source:
FieldBuilder.cs

해당 필드에 대해 정의된 사용자 지정 특성을 모두 반환합니다.

public:
 override cli::array <System::Object ^> ^ GetCustomAttributes(bool inherit);
public override object[] GetCustomAttributes (bool inherit);
override this.GetCustomAttributes : bool -> obj[]
Public Overrides Function GetCustomAttributes (inherit As Boolean) As Object()

매개 변수

inherit
Boolean

기본 클래스에서의 사용자 지정 특성 상속을 제어합니다.

반환

Object[]

해당 Object 인스턴스가 나타내는 생성자의 사용자 지정 특성을 모두 나타내는 FieldBuilder 형식 배열을 반환합니다.

예외

이 메서드는 지원되지 않습니다.

적용 대상

GetCustomAttributes(Type, Boolean)

Source:
FieldBuilder.cs

지정된 형식으로 식별되는 해당 필드에 대해 정의된 사용자 지정 특성을 모두 반환합니다.

public:
 override cli::array <System::Object ^> ^ GetCustomAttributes(Type ^ attributeType, bool inherit);
public override object[] GetCustomAttributes (Type attributeType, bool inherit);
override this.GetCustomAttributes : Type * bool -> obj[]
Public Overrides Function GetCustomAttributes (attributeType As Type, inherit As Boolean) As Object()

매개 변수

attributeType
Type

사용자 지정 특성 유형입니다.

inherit
Boolean

기본 클래스에서의 사용자 지정 특성 상속을 제어합니다.

반환

Object[]

해당 Object 인스턴스가 나타내는 생성자의 사용자 지정 특성을 모두 나타내는 FieldBuilder 형식 배열을 반환합니다.

예외

이 메서드는 지원되지 않습니다.

적용 대상