Share via


MoveableDecoratorHostShape.ICustomTypeDescriptor.GetEvents Method (array<Attribute )

Returns the events for this instance of a component using the specified attribute array as a filter.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Private Function GetEvents ( _
    attributes As Attribute() _
) As EventDescriptorCollection Implements ICustomTypeDescriptor.GetEvents
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

  • attributes
    Type: array<System.Attribute[]

    An array of type System.Attribute that is used as a filter.

Return Value

Type: System.ComponentModel.EventDescriptorCollection
Filtered events of parent shape.

Implements

ICustomTypeDescriptor.GetEvents(array<Attribute[])

.NET Framework Security

See Also

Reference

MoveableDecoratorHostShape Class

GetEvents Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace