SPWeb.Name 属性

Gets or sets the name of the website.

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
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; }

属性值

类型:System.String
A string that contains the name.

备注

The Name property returns an empty string if the site is a top-level site.

另请参阅

引用

SPWeb 类

SPWeb 成员

Microsoft.SharePoint 命名空间