Gets the default event.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable Function GetDefaultEvent As EventDescriptor
'使用
Dim instance As LocalizableProperties
Dim returnValue As EventDescriptor
returnValue = instance.GetDefaultEvent()
public virtual EventDescriptor GetDefaultEvent()
public:
virtual EventDescriptor^ GetDefaultEvent()
public function GetDefaultEvent() : EventDescriptor
Return Value
Type: System.ComponentModel.EventDescriptor
The default EventDescriptor.
Implements
ICustomTypeDescriptor.GetDefaultEvent()
Remarks
This method calls GetDefaultEvent.
Permissions
- 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.