SPView.StyleID Property
Gets the ID of the view style for the view.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<ClientCallableAttribute(Name := "StyleId")> _
<ClientCallableConstraintAttribute(FixedId := "viewstylereference", Type := ClientCallableConstraintType.Custom, _
Value := "Specifies a value that MUST either be null or conform to ViewStyleReference as defined in [MS-WSSCAML].")> _
Public ReadOnly Property StyleID As String
Get
'Usage
Dim instance As SPView
Dim value As String
value = instance.StyleID
[ClientCallableAttribute(Name = "StyleId")]
[ClientCallableConstraintAttribute(FixedId = "viewstylereference", Type = ClientCallableConstraintType.Custom,
Value = "Specifies a value that MUST either be null or conform to ViewStyleReference as defined in [MS-WSSCAML].")]
public string StyleID { get; }
Property Value
Type: System.String
A string that contains the ID.