共用方式為


IExplorerNodeContext.SiteId 屬性

取得與此節點相關聯之 SharePoint 網站 (Microsoft.SharePoint.SPWeb) 的 ID。

命名空間:  Microsoft.VisualStudio.SharePoint.Explorer
組件:  Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)

語法

'宣告
ReadOnly Property SiteId As Guid
    Get
Guid SiteId { get; }

屬性值

型別:System.Guid
與此節點相關聯之 SharePoint 網站 (Microsoft.SharePoint.SPWeb) 的 ID。

.NET Framework 安全性

請參閱

參考

IExplorerNodeContext 介面

Microsoft.VisualStudio.SharePoint.Explorer 命名空間