ModuleBuilder.GetCustomAttributes 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
현재 ModuleBuilder에 적용된 사용자 지정 특성을 반환합니다.
오버로드
| GetCustomAttributes(Boolean) |
현재 ModuleBuilder에 적용된 사용자 지정 특성을 모두 반환합니다. |
| GetCustomAttributes(Type, Boolean) |
현재 ModuleBuilder에 적용되었으며 지정된 특성 형식에서 파생되는 사용자 지정 특성을 모두 반환합니다. |
GetCustomAttributes(Boolean)
- Source:
- ModuleBuilder.cs
현재 ModuleBuilder에 적용된 사용자 지정 특성을 모두 반환합니다.
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
이 인수는 이 형식의 개체에 대해 무시됩니다.
반환
사용자 지정 특성이 들어 있는 배열입니다. 특성이 없으면 배열이 비어 있습니다.
적용 대상
GetCustomAttributes(Type, Boolean)
- Source:
- ModuleBuilder.cs
현재 ModuleBuilder에 적용되었으며 지정된 특성 형식에서 파생되는 사용자 지정 특성을 모두 반환합니다.
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
이 인수는 이 형식의 개체에 대해 무시됩니다.
반환
임의 수준의 attributeType에서 파생된 사용자 지정 특성이 들어 있는 배열입니다. 해당 특성이 없으면 배열이 비어 있습니다.
예외
attributeType이(가) null인 경우
attributeType이 런타임에 제공되는 Type 개체가 아닌 경우. 예를 들어 attributeType이 TypeBuilder 개체인 경우입니다.