IVsDataViewDocumentProvider 接口

可以打开文档,获取文档标记,并执行其他操作有关文档在 Visual Studio 服务器资源管理器。

此 API 不兼容 CLS。 

命名空间:  Microsoft.VisualStudio.Data.Services.SupportEntities
程序集:  Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)

语法

声明
<CLSCompliantAttribute(False)> _
Public Interface IVsDataViewDocumentProvider
[CLSCompliantAttribute(false)]
public interface IVsDataViewDocumentProvider
[CLSCompliantAttribute(false)]
public interface class IVsDataViewDocumentProvider
[<CLSCompliantAttribute(false)>]
type IVsDataViewDocumentProvider =  interface end
public interface IVsDataViewDocumentProvider

IVsDataViewDocumentProvider 类型公开以下成员。

方法

  名称 说明
公共方法 CanOpen 当实现由选件类,指示文档是否能打开为数据视图的指定节点和为特定逻辑视图。
公共方法 FindNode 当实现由选件类,搜索用对应于指定的文档标记的数据的节点查看。或者,搜索未展开的子节点。
公共方法 GetContext 当实现由选件类,在数据视图检索表示上下文的服务提供程序当前文件。
公共方法 GetMoniker 当实现由选件类,检索指定节点的文档标记在数据视图。
公共方法 GetPriority 当实现由选件类,获取优先级别中指定的数据视图层次结构中文档。
公共方法 GetSaveName 参数既能输入,也能输出。
公共方法 IsSupported 当实现由选件类,指示文档是否为数据视图的指定节点支持。
公共方法 Open 当实现由选件类,在给定逻辑视图打开指定文档。该文档可以填充现有数据,并可能会隐藏。
公共方法 ShowMoniker 当实现由选件类,指示将显示在指定的文档标记是否文档。

页首

备注

此接口具有一个基实现。DDEX结构。

请参见

参考

Microsoft.VisualStudio.Data.Services.SupportEntities 命名空间