IExplorerNode.Context 属性

获取一个 IExplorerNodeContext 对象,可以使用该对象获取有关与当前节点关联的 SharePoint 站点的信息。

命名空间:  Microsoft.VisualStudio.SharePoint.Explorer
程序集:  Microsoft.VisualStudio.SharePoint(在 Microsoft.VisualStudio.SharePoint.dll 中)

语法

声明
ReadOnly Property Context As IExplorerNodeContext
    Get
IExplorerNodeContext Context { get; }

属性值

类型:Microsoft.VisualStudio.SharePoint.Explorer.IExplorerNodeContext
一个 IExplorerNodeContext 对象,可以使用该对象获取有关与当前节点关联的 SharePoint 站点的信息。

备注

您可以使用 IExplorerNodeContext 对象执行调用到 SharePoint 服务器对象模型中的命令、获取 SharePoint 网站的 URL,以及执行其他任务。

.NET Framework 安全性

请参见

参考

IExplorerNode 接口

Microsoft.VisualStudio.SharePoint.Explorer 命名空间

其他资源

调入 SharePoint 对象模型