TypeDescriptionProvider.GetReflectionType 메서드

정의

개체에 대해 일반 리플렉션을 수행합니다.

오버로드

GetReflectionType(Object)

지정된 개체에 대해 일반 리플렉션을 수행합니다.

GetReflectionType(Type)

형식에 대해 일반 리플렉션을 수행합니다.

GetReflectionType(Type, Object)

주어진 형식의 지정된 개체에 대해 일반 리플렉션을 수행합니다.

GetReflectionType(Object)

Source:
TypeDescriptionProvider.cs
Source:
TypeDescriptionProvider.cs
Source:
TypeDescriptionProvider.cs

지정된 개체에 대해 일반 리플렉션을 수행합니다.

public:
 Type ^ GetReflectionType(System::Object ^ instance);
public Type GetReflectionType (object instance);
member this.GetReflectionType : obj -> Type
Public Function GetReflectionType (instance As Object) As Type

매개 변수

instance
Object

형식의 인스턴스로, null이 아니어야 합니다.

반환

instance의 리플렉션 형식입니다.

예외

instancenull입니다.

설명

메서드는 GetReflectionType 메서드의 하위 수준 버전입니다 GetTypeDescriptor . 개체에 대해 사용자 지정 형식 설명자를 배치할 수 없는 경우 는 개체 GetReflectionType 에 대해 정상적인 리플렉션을 수행하도록 호출됩니다.

형식 대신 instance 사용하는 형식 설명자 멤버를 호출한 경우 이 메서드 오버로드를 사용합니다.

추가 정보

적용 대상

GetReflectionType(Type)

Source:
TypeDescriptionProvider.cs
Source:
TypeDescriptionProvider.cs
Source:
TypeDescriptionProvider.cs

형식에 대해 일반 리플렉션을 수행합니다.

public:
 Type ^ GetReflectionType(Type ^ objectType);
public Type GetReflectionType (Type objectType);
member this.GetReflectionType : Type -> Type
Public Function GetReflectionType (objectType As Type) As Type

매개 변수

objectType
Type

IReflect를 검색할 개체의 형식입니다.

반환

objectType의 리플렉션 형식입니다.

예외

objectType이(가) null인 경우

설명

메서드는 GetReflectionType 메서드의 하위 수준 버전입니다 GetTypeDescriptor . 개체에 대해 사용자 지정 형식 설명자를 배치할 수 없는 경우 는 개체 GetReflectionType 에 대해 정상적인 리플렉션을 수행하도록 호출됩니다.

instance 대신 형식을 사용하는 형식 설명자 멤버를 호출한 경우 이 메서드 오버로드를 사용합니다.

추가 정보

적용 대상

GetReflectionType(Type, Object)

Source:
TypeDescriptionProvider.cs
Source:
TypeDescriptionProvider.cs
Source:
TypeDescriptionProvider.cs

주어진 형식의 지정된 개체에 대해 일반 리플렉션을 수행합니다.

public:
 virtual Type ^ GetReflectionType(Type ^ objectType, System::Object ^ instance);
public virtual Type GetReflectionType (Type objectType, object instance);
public virtual Type GetReflectionType (Type objectType, object? instance);
abstract member GetReflectionType : Type * obj -> Type
override this.GetReflectionType : Type * obj -> Type
Public Overridable Function GetReflectionType (objectType As Type, instance As Object) As Type

매개 변수

objectType
Type

IReflect를 검색할 개체의 형식입니다.

instance
Object

형식의 인스턴스입니다. null일 수 있습니다.

반환

objectType의 리플렉션 형식입니다.

설명

메서드는 GetReflectionType 메서드의 하위 수준 버전입니다 GetTypeDescriptor . 개체에 대해 사용자 지정 형식 설명자를 배치할 수 없는 경우 는 개체 GetReflectionType 에 대해 정상적인 리플렉션을 수행하도록 호출됩니다.

상속자 참고

이 메서드는 로 virtual프로토타입화되며 부모 공급자가 전달되지 않은 경우 기본적으로 를 반환합니다 objectType . 부모 공급자가 전달된 경우 이 메서드는 부모 공급자의 GetReflectionType 메서드를 호출합니다.

추가 정보

적용 대상