PropertyDescriptor.GetInvocationTarget(Type, Object) 메서드

정의

이 메서드는 멤버를 호출하는 동안 사용해야 하는 개체를 반환합니다.

protected:
 override System::Object ^ GetInvocationTarget(Type ^ type, System::Object ^ instance);
protected override object GetInvocationTarget (Type type, object instance);
protected override object? GetInvocationTarget (Type type, object instance);
override this.GetInvocationTarget : Type * obj -> obj
Protected Overrides Function GetInvocationTarget (type As Type, instance As Object) As Object

매개 변수

type
Type

호출 대상의 Type입니다.

instance
Object

잠재적인 호출 대상입니다.

반환

멤버를 호출하는 동안 사용해야 하는 Object입니다.

설명

일반적으로 반환 값은 전달된 값과 instance 동일합니다. 다른 사용자가 이 instance 다른 개체를 연결했거나 instance 사용자 지정 형식 설명자인 경우 메서드는 GetInvocationTarget 다른 값을 반환할 수 있습니다.

적용 대상