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^)
.NET Framework (current version)
Note: This API is now obsolete.
Namespace:
System.ComponentModel
Assembly: System (in System.dll)
Return to top
Gets the component on which to invoke a method.
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
Available since 1.1
Show: