Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 | |
---|---|---|
![]() |
GetCol | Retrieves the column position of an item based on its index in a list of context items. |
![]() |
GetCount | Returns a count of the context items. |
![]() |
GetFileName | Retrieves the file for an item based on its index in a list of context items. |
![]() |
GetLine | Retrieves the line position of an item based on its index in a list of context items. |
![]() |
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.