IReflect 인터페이스

정의

IDispatch 인터페이스와 호환하여 사용됩니다.

public interface class IReflect
public interface IReflect
[System.Runtime.InteropServices.Guid("AFBF15E5-C37C-11d2-B88E-00A0C9B471B8")]
public interface IReflect
[System.Runtime.InteropServices.Guid("AFBF15E5-C37C-11d2-B88E-00A0C9B471B8")]
[System.Runtime.InteropServices.ComVisible(true)]
public interface IReflect
type IReflect = interface
[<System.Runtime.InteropServices.Guid("AFBF15E5-C37C-11d2-B88E-00A0C9B471B8")>]
type IReflect = interface
[<System.Runtime.InteropServices.Guid("AFBF15E5-C37C-11d2-B88E-00A0C9B471B8")>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type IReflect = interface
Public Interface IReflect
파생
특성

설명

인터페이스 IReflectIDispatch 인터페이스와 상호 운용하는 데 사용됩니다. IReflect 는 리플렉션 메서드의 하위 집합을 Type 정의합니다. 이 인터페이스를 구현하면 COM에서 IDispatch 개체에 개체로 액세스할 때 형식이 해당 동작을 사용자 지정할 수 있습니다. 클래스를 ExpandoToDispatchExMarshaler 구현하거나 IExpando COM IDispatch 개체로 마샬 IReflect 링하는 데 사용할 수 있으며 그 반대의 경우도 마찬가지입니다.

속성

UnderlyingSystemType

IReflect 개체를 나타내는 내부 형식을 가져옵니다.

메서드

GetField(String, BindingFlags)

지정된 필드 및 바인딩 플래그에 해당하는 FieldInfo 개체를 반환합니다.

GetFields(BindingFlags)

현재 클래스의 모든 필드에 해당하는 FieldInfo 개체의 배열을 반환합니다.

GetMember(String, BindingFlags)

모든 공용 멤버나 지정된 이름과 일치하는 이름을 가진 모든 멤버에 해당하는 MemberInfo 개체의 배열을 검색합니다.

GetMembers(BindingFlags)

모든 public 멤버나 현재 클래스의 모든 멤버에 해당하는 MemberInfo 개체의 배열을 검색합니다.

GetMethod(String, BindingFlags)

지정된 검색 제약 조건 하에서 지정된 메서드에 해당하는 MethodInfo 개체를 검색합니다.

GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[])

지정된 메서드에 해당하는 MethodInfo 개체를 검색하며 Type 배열을 사용하여, 오버로드된 메서드 중에서 선택합니다.

GetMethods(BindingFlags)

모든 공용 메서드나 현재 클래스의 모든 메서드가 포함된 MethodInfo 개체의 배열을 검색합니다.

GetProperties(BindingFlags)

모든 공용 속성이나 현재 클래스의 모든 속성에 해당하는 PropertyInfo 개체의 배열을 검색합니다.

GetProperty(String, BindingFlags)

지정된 검색 제약 조건에 지정된 속성에 해당하는 PropertyInfo 개체를 검색합니다.

GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[])

지정된 검색 제약 조건에 따라 지정된 속성에 해당하는 PropertyInfo 개체를 검색합니다.

InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[])

지정된 멤버를 호출합니다.

적용 대상

추가 정보