PropertyDescriptor.GetInvocationTarget(Type, Object) 메서드

정의

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

protected:
 override System::Object ^ GetInvocationTarget(Type ^ type, System::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 동일합니다. 다른 사용자가 이 인스턴스와 다른 개체를 연결하거나 인스턴스가 사용자 지정 형식 설명자인 경우 메서드는 GetInvocationTarget 다른 값을 반환할 수 있습니다.

적용 대상