SPWeb.Name property
取得或設定網站的名稱。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property Name As String
Get
Set
'用途
Dim instance As SPWeb
Dim value As String
value = instance.Name
instance.Name = value
public string Name { get; set; }
Property value
Type: System.String
字串,包含名稱。
備註
如果網站是頂層網站, Name屬性會傳回空字串。