ICodeNavigate2::DisplayDefaultEventHandler Method (String^)

 

Displays the code for the default event handler. Inherited from ICodeNavigate.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int DisplayDefaultEventHandler(
	String^ lpstrObjectName
)

Parameters

lpstrObjectName
Type: System::String^

[in] Pointer to a string containing the name of the object.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From designer.idl:

HRESULT ICodeNavigate2::DisplayDefaultEventHandler(
   [in] LPCOLESTR lpstrObjectName
);
Return to top
Show: