Gets a collection of the events that satisfy the attribute filter.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable Function GetEvents ( _
attributes As Attribute() _
) As EventDescriptorCollection
'使用
Dim instance As LocalizableProperties
Dim attributes As Attribute()
Dim returnValue As EventDescriptorCollection
returnValue = instance.GetEvents(attributes)
public virtual EventDescriptorCollection GetEvents(
Attribute[] attributes
)
public:
virtual EventDescriptorCollection^ GetEvents(
array<Attribute^>^ attributes
)
public function GetEvents(
attributes : Attribute[]
) : EventDescriptorCollection
Parameters
attributes
Type: []An array of attributes to be used a filter.
Return Value
Type: System.ComponentModel.EventDescriptorCollection
Implements
ICustomTypeDescriptor.GetEvents([])
Remarks
This method calls GetEvents.
Permissions
- 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.