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(1)]
public interface IVsCodeDefViewContext

NameDescription
System_CAPS_pubmethodGetCol(UInt32, UInt32)

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

System_CAPS_pubmethodGetCount(UInt32)

Returns a count of the context items.

System_CAPS_pubmethodGetFileName(UInt32, String)

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

System_CAPS_pubmethodGetLine(UInt32, UInt32)

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

System_CAPS_pubmethodGetSymbolName(UInt32, String)

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

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.

Return to top
Show: