SharePoint サイト ノードが表す Microsoft.SharePoint.SPWeb が、そのサイト コレクション (Microsoft.SharePoint.SPSite) の RootWeb かどうかを示す値を取得します。
名前空間: 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 がそのサイト コレクション (Microsoft.SharePoint.SPSite) の RootWeb である場合は true。それ以外の場合は false。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。