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)

[GuidAttribute("E7070F9A-502F-4454-B4A2-FE261C568C37")]
[InterfaceTypeAttribute()]
public interface IVsCodeDefViewContext

The IVsCodeDefViewContext type exposes the following members.

  NameDescription
Public methodGetColRetrieves the column position of an item based on its index in a list of context items.
Public methodGetCountReturns a count of the context items.
Public methodGetFileNameRetrieves the file for an item based on its index in a list of context items.
Public methodGetLineRetrieves the line position of an item based on its index in a list of context items.
Public methodGetSymbolNameRetrieves the symbol name of an item based on its index in a list of context items.
Top

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft