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!

TypeDelegator.GetEvent

Returns the EventInfo object representing specified event.

[Visual Basic]
Overrides Public Function GetEvent( _
   ByVal name As String, _
   ByVal bindingAttr As BindingFlags _
) As EventInfo
[C#]
public override EventInfo GetEvent(
   string name,
   BindingFlags bindingAttr
);
[C++]
public: override EventInfo* GetEvent(
   String* name,
   BindingFlags bindingAttr
);
[JScript]
public override function GetEvent(
   name : String,
   bindingAttr : BindingFlags
) : EventInfo;

Parameters

name
The name of the event to get.
bindingAttr
This bit mask affects the way in which the search is conducted. The value is a BindingFlags.IgnoreCase, to ignore the case.

Return Value

Returns an EventInfo object representing the event declared or inherited by this type with the specified name. Returns null if no such event is found.

Remarks

If bindingAttr is BindingFlags.IgnoreCase, the case on name is ignored.

See Also

TypeDelegator Class | TypeDelegator Members | System.Reflection Namespace