WebCollection.Add メソッド
カスタム アクションのスコープを示す値を取得します。
名前空間: Microsoft.SharePoint.Client
アセンブリ: Microsoft.SharePoint.Client.Silverlight (Microsoft.SharePoint.Client.Silverlight.dll 内); Microsoft.SharePoint.Client.Phone (Microsoft.SharePoint.Client.Phone.dll 内) Microsoft.SharePoint.Client (Microsoft.SharePoint.Client.dll 内)
構文
'宣言
Public Function Add ( _
parameters As WebCreationInformation _
) As Web
'使用
Dim instance As WebCollection
Dim parameters As WebCreationInformation
Dim returnValue As Web
returnValue = instance.Add(parameters)
public Web Add(
WebCreationInformation parameters
)
パラメーター
parameters
型: Microsoft.SharePoint.Client.WebCreationInformationWeb サイトに関連付けられている情報を含む**[Microsoft.SharePoint.Client.WebCreationInformation]**オブジェクトを指定します。
null 参照 (Visual Basic のNothing )はできません。
戻り値
型: Microsoft.SharePoint.Client.Web
新しい Web サイトを表すWebオブジェクトを指定します。
例外
例外 | 条件 |
---|---|
SPException | parametersで指定された URL は、既に使用されています。エラー コード:-2147024713 します。 |