Compartir a través de


ICodeNavigate2.DisplayDefaultEventHandler Method

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)

Syntax

'Declaration
Function DisplayDefaultEventHandler ( _
    lpstrObjectName As String _
) As Integer
int DisplayDefaultEventHandler(
    string lpstrObjectName
)
int DisplayDefaultEventHandler(
    [InAttribute] String^ lpstrObjectName
)
abstract DisplayDefaultEventHandler : 
        lpstrObjectName:string -> int
function DisplayDefaultEventHandler(
    lpstrObjectName : String
) : int

Parameters

  • lpstrObjectName
    Type: String

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

Return Value

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

Remarks

COM Signature

From designer.idl:

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

.NET Framework Security

See Also

Reference

ICodeNavigate2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace