ICustomAttributeProvider 인터페이스

정의

리플렉션 개체를 지원하는 사용자 지정 특성을 제공합니다.

public interface class ICustomAttributeProvider
public interface ICustomAttributeProvider
[System.Runtime.InteropServices.ComVisible(true)]
public interface ICustomAttributeProvider
type ICustomAttributeProvider = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
type ICustomAttributeProvider = interface
Public Interface ICustomAttributeProvider
파생
특성

설명

거의 모든 리플렉션 클래스에는 연관 특성이 있을 수 있습니다. 특성을 표준 수 (public, private, HelpString) 또는 사용자 지정 합니다.

메서드

GetCustomAttributes(Boolean)

명명된 특성을 제외하고 이 멤버에 정의된 모든 사용자 지정 특성의 배열을 반환하거나 사용자 지정 특성이 없는 경우 빈 배열을 반환합니다.

GetCustomAttributes(Type, Boolean)

형식으로 식별되는 이 멤버에 정의된 사용자 지정 특성의 배열을 반환하거나 해당 형식의 사용자 지정 특성이 없는 경우 빈 배열을 반환합니다.

IsDefined(Type, Boolean)

하나 이상의 attributeType 인스턴스가 이 멤버에 대해 정의되는지 여부를 나타냅니다.

적용 대상