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!

EventInfo.GetRemoveMethod

Retrieves the MethodInfo object for "removing" a method of the event represented by this instance.

Implementation of this member is not complete for this release of the NGWS SDK. This documentation is for information only.

Overload List

Retrieves the MethodInfo object for "removing" a method of the event represented by this instance with the given parameter count and modifier bit map.

[Visual Basic] Overloads MustOverride Public Function GetRemoveMethod(Boolean) As MethodInfo
[C#] public abstract MethodInfo GetRemoveMethod(bool);
[C++] public: virtual MethodInfo* GetRemoveMethod(bool) = 0;
[JScript] public abstract function GetRemoveMethod(Boolean) : MethodInfo;

Retrieves the MethodInfo object for "removing" a method of the event represented by this instance with default properties.

[Visual Basic] Overloads Public Function GetRemoveMethod() As MethodInfo
[C#] public MethodInfo GetRemoveMethod();
[C++] public: MethodInfo* GetRemoveMethod();
[JScript] public function GetRemoveMethod() : MethodInfo;

Example

Typically, the method has the following signature:

public void AddOn<EventName>(<EventHandlerType>hander)

See Also

EventInfo Class | EventInfo Members | System.Reflection Namespace