Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the events for the specified instance of a component.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Private Function GetEvents As EventDescriptorCollection
Implements ICustomTypeDescriptor.GetEvents
'Usage
Dim instance As DataConnectionProperties
Dim returnValue As EventDescriptorCollection
returnValue = CType(instance, ICustomTypeDescriptor).GetEvents()
EventDescriptorCollection ICustomTypeDescriptor.GetEvents()
private:
virtual EventDescriptorCollection^ GetEvents() sealed = ICustomTypeDescriptor::GetEvents
JScript does not support explicit interface implementations.
Return Value
Type: System.ComponentModel.EventDescriptorCollection
An EventDescriptorCollection object representing the events for the specified component instance.
Implements
ICustomTypeDescriptor.GetEvents()
Remarks
This method provides an implementation of the GetEvents method. For more information, see the GetEvents method in the .NET Framework class library.
Implementers can return an System.ComponentModel.EventDescriptorCollection.Empty instance if no properties are specified. This method should never return nulla null reference (Nothing in Visual Basic).
.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
DataConnectionProperties Class
DataConnectionProperties Members
DataConnectionProperties Overload