IVsCodeDefViewContext Interface

Definition

Sets the context for displaying the Code Definition tool window. The context includes things such as file name, and line and column numbers.

public interface class IVsCodeDefViewContext
public interface class IVsCodeDefViewContext
__interface IVsCodeDefViewContext
[System.Runtime.InteropServices.Guid("E7070F9A-502F-4454-B4A2-FE261C568C37")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsCodeDefViewContext
[<System.Runtime.InteropServices.Guid("E7070F9A-502F-4454-B4A2-FE261C568C37")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsCodeDefViewContext = interface
Public Interface IVsCodeDefViewContext
Attributes

Remarks

You fill in context values by calling the methods on this interface and then passing the interface to the SetContext method of the IVsCodeDefView interface.

Methods

GetCol(UInt32, UInt32)

Retrieves the column position of an item based on its index in a list of context items.

GetCount(UInt32)

Returns a count of the context items.

GetFileName(UInt32, String)

Retrieves the file for an item based on its index in a list of context items.

GetLine(UInt32, UInt32)

Retrieves the line position of an item based on its index in a list of context items.

GetSymbolName(UInt32, String)

Retrieves the symbol name of an item based on its index in a list of context items.

Applies to