Compartir a través de


ICodeNavigate2 Interface

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.

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

Syntax

'Declaration
<GuidAttribute("2702AD60-3459-11D1-88FD-00A0C9110049")> _
<InterfaceTypeAttribute()> _
Public Interface ICodeNavigate2 _
    Inherits ICodeNavigate
[GuidAttribute("2702AD60-3459-11D1-88FD-00A0C9110049")]
[InterfaceTypeAttribute()]
public interface ICodeNavigate2 : ICodeNavigate
[GuidAttribute(L"2702AD60-3459-11D1-88FD-00A0C9110049")]
[InterfaceTypeAttribute()]
public interface class ICodeNavigate2 : ICodeNavigate
[<GuidAttribute("2702AD60-3459-11D1-88FD-00A0C9110049")>]
[<InterfaceTypeAttribute()>]
type ICodeNavigate2 =  
    interface 
        interface ICodeNavigate 
    end
public interface ICodeNavigate2 extends ICodeNavigate

The ICodeNavigate2 type exposes the following members.

Methods

  Name Description
Public method DisplayDefaultEventHandler Displays the code for the default event handler. Inherited from ICodeNavigate.
Public method DisplayEventHandler Displays the code for a specific event handler.

Top

Remarks

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

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace