共用方式為


SPPersistedObject.Name property

取得或設定用來唯一地識別具有相同的父項和類別的兩個物件的名稱。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Property Name As String
    Get
    Set
'用途
Dim instance As SPPersistedObject
Dim value As String

value = instance.Name

instance.Name = value
public string Name { get; set; }

Property value

Type: System.String
內含名稱識別碼的字串。

請參閱

參照

SPPersistedObject class

SPPersistedObject members

Microsoft.SharePoint.Administration namespace