DataSource.ICustomTypeDescriptor.GetDefaultEvent Method
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Private Function GetDefaultEvent As EventDescriptor
Implements ICustomTypeDescriptor.GetDefaultEvent
'Utilisation
Dim instance As DataSource
Dim returnValue As EventDescriptor
returnValue = CType(instance, ICustomTypeDescriptor).GetDefaultEvent()
EventDescriptor ICustomTypeDescriptor.GetDefaultEvent()
private:
virtual EventDescriptor^ GetDefaultEvent() sealed = ICustomTypeDescriptor::GetDefaultEvent
private abstract GetDefaultEvent : unit -> EventDescriptor
private override GetDefaultEvent : unit -> EventDescriptor
JScript does not support explicit interface implementations.
Return Value
Type: System.ComponentModel.EventDescriptor
Implements
ICustomTypeDescriptor.GetDefaultEvent()
.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.