LocalizableProperties.GetEvents Method (array<Attribute[])
Gets the collection of events for a specified component using a specified array of attributes as a filter.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Project.MPF
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Overridable Function GetEvents ( _
attributes As Attribute() _
) As EventDescriptorCollection
'Usage
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
abstract GetEvents :
attributes:Attribute[] -> EventDescriptorCollection
override GetEvents :
attributes:Attribute[] -> EventDescriptorCollection
Parameters
- attributes
Type: array<System.Attribute[]
Array of attributes
Return Value
Type: System.ComponentModel.EventDescriptorCollection
Implements
ICustomTypeDescriptor.GetEvents(array<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.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Project.MPF Namespace