Partager via


DataSource.ICustomTypeDescriptor.GetEvents Method (array<Attribute )

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
Private Function GetEvents ( _
    attributes As Attribute() _
) As EventDescriptorCollection Implements ICustomTypeDescriptor.GetEvents
'Utilisation
Dim instance As DataSource
Dim attributes As Attribute()
Dim returnValue As EventDescriptorCollection

returnValue = CType(instance, ICustomTypeDescriptor).GetEvents(attributes)
EventDescriptorCollection ICustomTypeDescriptor.GetEvents(
    Attribute[] attributes
)
private:
virtual EventDescriptorCollection^ GetEvents(
    array<Attribute^>^ attributes
) sealed = ICustomTypeDescriptor::GetEvents
private abstract GetEvents : 
        attributes:Attribute[] -> EventDescriptorCollection 
private override GetEvents : 
        attributes:Attribute[] -> EventDescriptorCollection 
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.ComponentModel.EventDescriptorCollection

Implements

ICustomTypeDescriptor.GetEvents(array<Attribute[])

.NET Framework Security

See Also

Reference

DataSource Class

DataSource Members

GetEvents Overload

Microsoft.Internal.VisualStudio.PlatformUI Namespace