LocalizableProperties.GetDefaultEvent Method
Returns the default event for this object.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Public Function GetDefaultEvent As EventDescriptor
public EventDescriptor GetDefaultEvent()
public:
virtual EventDescriptor^ GetDefaultEvent() sealed
abstract GetDefaultEvent : unit -> EventDescriptor
override GetDefaultEvent : unit -> EventDescriptor
public final function GetDefaultEvent() : EventDescriptor
Return Value
Type: System.ComponentModel.EventDescriptor
Returns an EventDescriptor.
Implements
ICustomTypeDescriptor.GetDefaultEvent()
Remarks
Delegates to TypeDescriptor.
.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.