共用方式為


SPObjectModelType.GetPropertyNames property

屬性名稱的清單。

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

Syntax

'宣告
Public ReadOnly Property GetPropertyNames As ReadOnlyCollection(Of String)
    Get
'用途
Dim instance As SPObjectModelType
Dim value As ReadOnlyCollection(Of String)

value = instance.GetPropertyNames
public ReadOnlyCollection<string> GetPropertyNames { get; }

Property value

Type: System.Collections.ObjectModel.ReadOnlyCollection<String>
ReadOnlyCollection<T> 物件,其中包含屬性名稱。

請參閱

參照

SPObjectModelType class

SPObjectModelType members

Microsoft.SharePoint.Administration namespace