MemberDescriptor.GetInvocationTarget(Type, Object) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
멤버를 호출하는 동안 사용해야 하는 개체를 검색합니다.
protected:
virtual System::Object ^ GetInvocationTarget(Type ^ type, System::Object ^ instance);
protected virtual object GetInvocationTarget (Type type, object instance);
protected virtual object? GetInvocationTarget (Type type, object instance);
abstract member GetInvocationTarget : Type * obj -> obj
override this.GetInvocationTarget : Type * obj -> obj
Protected Overridable Function GetInvocationTarget (type As Type, instance As Object) As Object
매개 변수
- instance
- Object
잠재적인 호출 대상입니다.
반환
멤버를 호출하는 동안 사용할 개체입니다.
예외
type
또는 instance
가 null
인 경우
설명
일반적으로 반환 값은 매개 변수와 동일합니다 instance
. 다른 개체가 이 instance 연결되어 있거나 instance 사용자 지정 형식 설명자인 경우 메서드는 GetInvocationTarget 다른 값을 반환할 수 있습니다.