Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MemberDescriptor::GetInvokee Method (Type^, Object^)

 
Note: This API is now obsolete.

Gets the component on which to invoke a method.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

protected:
[ObsoleteAttribute("This method has been deprecated. Use GetInvocationTarget instead.  http://go.microsoft.com/fwlink/?linkid=14202")]
static Object^ GetInvokee(
	Type^ componentClass,
	Object^ component
)

Parameters

componentClass
Type: System::Type^

A Type representing the type of component this MemberDescriptor is bound to. For example, if this MemberDescriptor describes a property, this parameter should be the class that the property is declared on.

component
Type: System::Object^

An instance of the object to call.

Return Value

Type: System::Object^

An instance of the component to invoke. This method returns a visual designer when the property is attached to a visual designer.

Exception Condition
ArgumentNullException

componentClass or component is null.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft