AssemblyBuilder.GetCustomAttributes 메서드

정의

현재 AssemblyBuilder에 적용된 사용자 지정 특성을 반환합니다.

오버로드

GetCustomAttributes(Type, Boolean)

현재 AssemblyBuilder에 적용되었으며 지정된 특성 형식에서 파생되는 사용자 지정 특성을 모두 반환합니다.

GetCustomAttributes(Boolean)

현재 AssemblyBuilder에 적용된 사용자 지정 특성을 모두 반환합니다.

GetCustomAttributes(Type, Boolean)

현재 AssemblyBuilder에 적용되었으며 지정된 특성 형식에서 파생되는 사용자 지정 특성을 모두 반환합니다.

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[]

임의 수준의 attributeType에서 파생된 사용자 지정 특성이 들어 있는 배열입니다. 해당 특성이 없으면 배열이 비어 있습니다.

예외

attributeType이(가) null인 경우

attributeType이 런타임에 제공되는 Type 개체가 아닌 경우. 예를 들어 attributeTypeTypeBuilder 개체인 경우입니다.

적용 대상

GetCustomAttributes(Boolean)

현재 AssemblyBuilder에 적용된 사용자 지정 특성을 모두 반환합니다.

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[]

사용자 지정 특성이 들어 있는 배열입니다. 특성이 없으면 배열이 비어 있습니다.

적용 대상