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!

ICustomTypeDescriptor.GetEvents (MemberAttribute[])

Retrieves an array of events that the given component instance provides. This may differ from the set of events the class provides. If the component is sited, the site may add or remove additional events. The returned array of events will be filtered by the given set of attributes.

[Visual Basic]
Overloads Function GetEvents( _
   ByVal attributes() As MemberAttribute _
) As EventDescriptorCollection
[C#]
EventDescriptorCollection GetEvents(
   MemberAttribute[] attributes
);
[C++]
EventDescriptorCollection* GetEvents(
   MemberAttribute* attributes[]
) = 0;
[JScript]
function GetEvents(
   attributes : MemberAttribute[]
) : EventDescriptorCollection;

Parameters

attributes
A set of attributes to use as a filter. If a MemberAttribute instance is specified and the event does not have an instance of that attribute's class, this will still include the event if the MemberAttribute is the same as it's Default property.

Return Value

an array of events this component surfaces that match the given set of attributes..

See Also

ICustomTypeDescriptor Interface | ICustomTypeDescriptor Members | System.ComponentModel Namespace | ICustomTypeDescriptor.GetEvents Overload List