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.GetAddMethod

Retrieves the MethodInfo object for "add" methods 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 "add" method of the event represented by this instance with the given parameter count and modifier bit map.

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

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

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

Example

Typically, the method has hte following signature:

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

See Also

EventInfo Class | EventInfo Members | System.Reflection Namespace