ICustomTypeDescriptor.GetEvents Method (Attribute[])
Namespace: Microsoft.VisualStudio.Data.Tools.Package.Internal
Assembly: Microsoft.VisualStudio.Data.Tools.Package (in Microsoft.VisualStudio.Data.Tools.Package.dll)
Syntax
'Declaration
Private Function GetEvents ( _
attributes As Attribute() _
) As EventDescriptorCollection Implements ICustomTypeDescriptor.GetEvents
'Usage
Dim instance As PropertyGroup
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 supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- attributes
Type: array<System..::..Attribute> [] () [] []
Return Value
Type: System.ComponentModel..::..EventDescriptorCollection
Implements
ICustomTypeDescriptor..::..GetEvents(array<Attribute> [] () [] [])
See Also
Reference
Microsoft.VisualStudio.Data.Tools.Package.Internal Namespace