AdoDotNetConnectionProperties.ICustomTypeDescriptor.GetEvents Method (array<Attribute )
For a description of this member, see GetEvents.
Namespace: Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.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 attributes to use as a filter. This can be nulla null reference (Nothing in Visual Basic).
Return Value
Type: System.ComponentModel.EventDescriptorCollection
Returns the events for this instance of a component.
Implements
ICustomTypeDescriptor.GetEvents(array<Attribute[])
Remarks
This member is an explicit interface member implementation. It can be used only when the ConnectionStringBuilder is cast to an ICustomTypeDescriptor interface.
.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.