共用方式為


ICodeNavigate.DisplayDefaultEventHandler(String) Method

Definition

Displays the default event handler.

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 that contains the default event handler.

Returns

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

Remarks

COM Signature

From designer.idl:

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

Applies to