When implemented by a derived class, returns an enumerator over all the handlers added by successive calls to AddHandler.
Namespace: Microsoft.VisualStudio
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Function GetHandledEvents As IVsEnumBSTR
'使用
Dim instance As IEventHandler
Dim returnValue As IVsEnumBSTR
returnValue = instance.GetHandledEvents()
IVsEnumBSTR GetHandledEvents()
IVsEnumBSTR^ GetHandledEvents()
function GetHandledEvents() : IVsEnumBSTR
Return Value
Type: Microsoft.VisualStudio.TextManager.Interop.IVsEnumBSTR
S_OK if the method succeeds, otherwise an error code.
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.