TypeDescriptionProvider.GetReflectionType 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
개체에 대해 일반 리플렉션을 수행합니다.
오버로드
| 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의 리플렉션 형식입니다.
예외
instance은 null입니다.
설명
메서드는 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의 리플렉션 형식입니다.
예외
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
매개 변수
- instance
- Object
형식의 인스턴스입니다.
null일 수 있습니다.
반환
이 objectType의 리플렉션 형식입니다.
설명
메서드는 GetReflectionType 메서드의 하위 수준 버전입니다 GetTypeDescriptor . 개체에 대해 사용자 지정 형식 설명자를 배치할 수 없는 경우 는 개체 GetReflectionType 에 대해 정상적인 리플렉션을 수행하도록 호출됩니다.
상속자 참고
이 메서드는 로 virtual프로토타입화되며 부모 공급자가 전달되지 않은 경우 기본적으로 를 반환합니다 objectType . 부모 공급자가 전달된 경우 이 메서드는 부모 공급자의 GetReflectionType 메서드를 호출합니다.