AssemblyBuilder.GetCustomAttributesData 메서드

정의

현재CustomAttributeData에 적용된 특성에 대한 정보가 들어 있는 개체를 반환 AssemblyBuilder 합니다.

public:
 override System::Collections::Generic::IList<System::Reflection::CustomAttributeData ^> ^ GetCustomAttributesData();
public override System.Collections.Generic.IList<System.Reflection.CustomAttributeData> GetCustomAttributesData();
override this.GetCustomAttributesData : unit -> System.Collections.Generic.IList<System.Reflection.CustomAttributeData>
Public Overrides Function GetCustomAttributesData () As IList(Of CustomAttributeData)

반품

현재 모듈에 적용된 특성에 대한 데이터를 나타내는 제네릭 개체 목록 CustomAttributeData 입니다.

설명

리플렉션 전용 컨텍스트에서 사용자 지정 특성 자체가 리플렉션 전용 컨텍스트로 로드되는 코드에 정의된 경우 이 메서드를 사용하여 코드의 사용자 지정 특성을 검사합니다. 이러한 경우와 같은 Attribute.GetCustomAttributes 메서드는 Assembly.GetCustomAttributes 특성의 인스턴스를 만들기 때문에 사용할 수 없습니다. 리플렉션 전용 컨텍스트의 코드는 실행할 수 없습니다. 자세한 내용 및 예제 코드는 클래스를 참조하세요 CustomAttributeData .

적용 대상