Partager via


ICodeNavigate2 Interface

Definition

Displays the event handler code of a given displayed object. This interface extends ICodeNavigate by providing an additional method to display code for specific events of a displayed object.

public interface class ICodeNavigate2 : Microsoft::VisualStudio::Shell::Interop::ICodeNavigate
public interface class ICodeNavigate2 : Microsoft::VisualStudio::Shell::Interop::ICodeNavigate
__interface ICodeNavigate2 : Microsoft::VisualStudio::Shell::Interop::ICodeNavigate
[System.Runtime.InteropServices.Guid("2702AD60-3459-11D1-88FD-00A0C9110049")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface ICodeNavigate2 : Microsoft.VisualStudio.Shell.Interop.ICodeNavigate
[System.Runtime.InteropServices.Guid("2702AD60-3459-11D1-88FD-00A0C9110049")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface ICodeNavigate2 : Microsoft.VisualStudio.Shell.Interop.ICodeNavigate
[<System.Runtime.InteropServices.Guid("2702AD60-3459-11D1-88FD-00A0C9110049")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type ICodeNavigate2 = interface
    interface ICodeNavigate
[<System.Runtime.InteropServices.Guid("2702AD60-3459-11D1-88FD-00A0C9110049")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type ICodeNavigate2 = interface
    interface ICodeNavigate
Public Interface ICodeNavigate2
Implements ICodeNavigate
Attributes
Implements

Remarks

Use the SCodeNavigate (SID_SCodeNavigate) service to get an instance of the interface.

Methods

DisplayDefaultEventHandler(String)

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

DisplayEventHandler(String, String)

Displays the code for a specific event handler.

Applies to