DataViewBrowseObject.GetEvents Method (array<Attribute )
Retrieves a EventDescriptorCollection collection of events that match the specified attributes for the current browse object.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public Overridable Function GetEvents ( _
attributes As Attribute() _
) As EventDescriptorCollection
public virtual EventDescriptorCollection GetEvents(
Attribute[] attributes
)
public:
virtual EventDescriptorCollection^ GetEvents(
array<Attribute^>^ attributes
)
abstract GetEvents :
attributes:Attribute[] -> EventDescriptorCollection
override GetEvents :
attributes:Attribute[] -> EventDescriptorCollection
public function GetEvents(
attributes : Attribute[]
) : EventDescriptorCollection
Parameters
attributes
Type: array<System.Attribute[]An array of Attribute objects as a filter for the events to return.
Return Value
Type: System.ComponentModel.EventDescriptorCollection
Returns an EventDescriptorCollection collection containing the events that match the specified attributes for the current browse object.
Implements
ICustomTypeDescriptor.GetEvents(array<Attribute[])
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.