Compartilhar via


ICodeNavigate2.DisplayDefaultEventHandler(String) Method

Definition

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

public:
 int DisplayDefaultEventHandler(System::String ^ lpstrObjectName);
public:
 int DisplayDefaultEventHandler(Platform::String ^ lpstrObjectName);
int DisplayDefaultEventHandler(std::wstring const & lpstrObjectName);
public int DisplayDefaultEventHandler (string lpstrObjectName);
abstract member DisplayDefaultEventHandler : string -> int
Public Function DisplayDefaultEventHandler (lpstrObjectName As String) As Integer

Parameters

lpstrObjectName
String

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

Returns

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

Implements

Remarks

COM Signature

From designer.idl:

HRESULT ICodeNavigate2::DisplayDefaultEventHandler(  
   [in] LPCOLESTR lpstrObjectName  
);  

Applies to