Partager via


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

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

See Also

Reference

DataViewBrowseObject Class

GetEvents Overload

Microsoft.VisualStudio.Data.Framework Namespace

GetEvents