共用方式為


SPWebCollection.Add method

Include protected members
Include inherited members

建立SPWeb物件在集合中。

Overload list

  Name Description
Public method Add(String) 使用指定的網站與相對 URL 建立SPWeb物件。
Public method Add(String, String, String, UInt32, SPWebTemplate, Boolean, Boolean) 使用指定的網站與相對 URL、 標題、 描述、 地區設定識別碼和網站定義或網站範本物件建立SPWeb物件。
Public method Add(String, String, String, UInt32, String, Boolean, Boolean) 建立網站與指定的網站與相對 URL、 標題、 描述、 地區設定識別碼和網站定義或網站範本名稱。

Top

請參閱

參照

SPWebCollection class

SPWebCollection members

Microsoft.SharePoint namespace