ICodeNavigate2::DisplayEventHandler Method (String^, String^)
Visual Studio 2015
Displays the code for a specific event handler.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- lpstrObjectName
-
Type:
System::String^
[in] Pointer to a string containing the name of the object.
- lpstrEventName
-
Type:
System::String^
[in] Pointer to a string containing the name of the event.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From designer.idl:
HRESULT ICodeNavigate2::DisplayEventHandler( [in] LPCOLESTR lpstrObjectName, [in] LPCOLESTR lpstrEventName );
Show: