Udostępnij za pośrednictwem


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

See Also

Reference

LocalizableProperties Class

Microsoft.VisualStudio.Shell Namespace