IVsCodeDefViewContext 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置用于显示代码定义工具窗口的上下文。 上下文包括文件名、行号和列号等内容。
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
- 属性
注解
您可以通过调用此接口上的方法,然后将接口传递到接口的方法,填写上下文值 SetContext IVsCodeDefView 。
方法
| GetCol(UInt32, UInt32) |
基于项在上下文项列表中的索引检索项的列位置。 |
| GetCount(UInt32) |
返回上下文项的计数。 |
| GetFileName(UInt32, String) |
基于项在上下文项列表中的索引检索项的文件。 |
| GetLine(UInt32, UInt32) |
基于项在上下文项列表中的索引检索项的行位置。 |
| GetSymbolName(UInt32, String) |
基于项在上下文项列表中的索引检索项的符号名称。 |