NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

MemberDescriptor.GetInvokee

Gets the component that a method should be invoked on.

[Visual Basic]
Protected Shared Function GetInvokee( _
   ByVal componentClass As Type, _
   ByVal component As Object _
) As Object
[C#]
protected static object GetInvokee(
   Type componentClass,
   object component
);
[C++]
protected: static Object* GetInvokee(
   Type* componentClass,
   Object* component
);
[JScript]
protected static function GetInvokee(
   componentClass : Type,
   component : Object
) : Object;

Parameters

componentClass
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
An instance of the object to call.

Return Value

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

See Also

MemberDescriptor Class | MemberDescriptor Members | System.ComponentModel Namespace