IVsCodeDefViewContext Interface

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

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

Syntax

'Declaration
<GuidAttribute("E7070F9A-502F-4454-B4A2-FE261C568C37")> _
<InterfaceTypeAttribute()> _
Public Interface IVsCodeDefViewContext
[GuidAttribute("E7070F9A-502F-4454-B4A2-FE261C568C37")]
[InterfaceTypeAttribute()]
public interface IVsCodeDefViewContext
[GuidAttribute(L"E7070F9A-502F-4454-B4A2-FE261C568C37")]
[InterfaceTypeAttribute()]
public interface class IVsCodeDefViewContext
[<GuidAttribute("E7070F9A-502F-4454-B4A2-FE261C568C37")>]
[<InterfaceTypeAttribute()>]
type IVsCodeDefViewContext =  interface end
public interface IVsCodeDefViewContext

The IVsCodeDefViewContext type exposes the following members.

Methods

  Name Description
Public method GetCol Retrieves the column position of an item based on its index in a list of context items.
Public method GetCount Returns a count of the context items.
Public method GetFileName Retrieves the file for an item based on its index in a list of context items.
Public method GetLine Retrieves the line position of an item based on its index in a list of context items.
Public method GetSymbolName Retrieves the symbol name of an item based on its index in a list of context items.

Top

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace