LocalizableProperties.GetDefaultEvent Method
Returns the default event for this object.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'宣告
Public Function GetDefaultEvent As EventDescriptor
'用途
Dim instance As LocalizableProperties
Dim returnValue As EventDescriptor
returnValue = instance.GetDefaultEvent()
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.