共用方式為


IExplorerSiteNodeInfo.IsRootWeb 屬性

取得值,該值表示 SharePoint 網站節點所表示的 Microsoft.SharePoint.SPWeb 是否是其網站集合的 RootWeb (Microsoft.SharePoint.SPSite)。

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

語法

'宣告
ReadOnly Property IsRootWeb As Boolean
    Get
bool IsRootWeb { get; }

屬性值

型別:System.Boolean
如果 SharePoint 網站節點所表示的 Microsoft.SharePoint.SPWeb 是其網站集合的 RootWeb (Microsoft.SharePoint.SPSite),則為 true,否則為 false。

.NET Framework 安全性

請參閱

參考

IExplorerSiteNodeInfo 介面

Microsoft.VisualStudio.SharePoint.Explorer 命名空間