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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.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<Attribute[]An array of type System.Attribute that is used as a filter.
Return Value
Type: EventDescriptorCollection
Filtered events of parent shape.
Implements
ICustomTypeDescriptor.GetEvents(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.