共用方式為


SPView.StyleID property

取得檢視中的檢視樣式的 ID。

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

Syntax

'宣告
Public ReadOnly Property StyleID As String
    Get
'用途
Dim instance As SPView
Dim value As String

value = instance.StyleID
public string StyleID { get; }

Property value

Type: System.String
字串,包含 id。

請參閱

參照

SPView class

SPView members

Microsoft.SharePoint namespace