LocalizableProperties.GetEvents Method (array<Attribute[])
Returns the collection of events for a component or type using a specified array of attributes as a filter.
Namespace: Microsoft.Data.Schema.Sql.Common.UI.PropertyGridUtilities
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public 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 EventDescriptorCollection GetEvents(
Attribute[] attributes
)
public:
virtual EventDescriptorCollection^ GetEvents(
array<Attribute^>^ attributes
) sealed
public final function GetEvents(
attributes : Attribute[]
) : EventDescriptorCollection
abstract GetEvents :
attributes:Attribute[] -> EventDescriptorCollection
override GetEvents :
attributes:Attribute[] -> EventDescriptorCollection
Parameters
- attributes
Type: array<System.Attribute[]
The 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.Data.Schema.Sql.Common.UI.PropertyGridUtilities Namespace