共用方式為


LocalizableProperties.GetEvents Method

Gets the collection of events for a specified component.

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 GetEvents As EventDescriptorCollection
'用途
Dim instance As LocalizableProperties
Dim returnValue As EventDescriptorCollection

returnValue = instance.GetEvents()
public EventDescriptorCollection GetEvents()
public:
virtual EventDescriptorCollection^ GetEvents() sealed
abstract GetEvents : unit -> EventDescriptorCollection 
override GetEvents : unit -> EventDescriptorCollection 
public final function GetEvents() : EventDescriptorCollection

Return Value

Type: System.ComponentModel.EventDescriptorCollection
An EventDescriptorCollection with the events for this component.

Implements

ICustomTypeDescriptor.GetEvents()

Remarks

Delegates to GetEvents.

.NET Framework Security

See Also

Reference

LocalizableProperties Class

LocalizableProperties Members

GetEvents Overload

Microsoft.VisualStudio.Shell Namespace