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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
Microsoft.VisualStudio.SharePoint.Explorer 命名空间