COMPropertyInfo.GetCustomAttributes 메서드

정의

이 속성에 연결된 사용자 지정 특성을 포함하는 배열을 반환합니다.

오버로드

Name Description
GetCustomAttributes(Boolean)

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

이 속성에 연결된 사용자 지정 특성을 포함하는 배열을 반환합니다.

GetCustomAttributes(Type, Boolean)

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

지정된 형식의 특성만 검색하여 이 속성에 연결된 사용자 지정 특성을 포함하는 배열을 반환합니다.

GetCustomAttributes(Boolean)

이 속성에 연결된 사용자 지정 특성을 포함하는 배열을 반환합니다.

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

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

true 이 멤버의 상속 계층을 검색하여 특성을 찾습니다.

반품

Object[]

요소가 없는 개체의 FieldInfo 배열입니다.

추가 정보

적용 대상

GetCustomAttributes(Type, Boolean)

지정된 형식의 특성만 검색하여 이 속성에 연결된 사용자 지정 특성을 포함하는 배열을 반환합니다.

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

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

매개 변수

t
Type

검색할 특성의 형식입니다.

inherit
Boolean

true 이 멤버의 상속 계층을 검색하여 특성을 찾습니다.

반품

Object[]

요소가 없는 개체의 FieldInfo 배열입니다.

추가 정보

적용 대상