SPViewStyle.ID Property
Gets the ID for the view style.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property ID As Integer
Get
'Usage
Dim instance As SPViewStyle
Dim value As Integer
value = instance.ID
public int ID { get; }
Property Value
Type: System.Int32
A 32-bit integer that specifies the ID.
Remarks
The ID property gets the ID specified in the file VWSTYLES.XML.
The following table shows the IDs and names of view styles that are included in the original installation of SharePoint Foundation.
Value |
Description |
---|---|
0 |
Basic Table |
6 |
Picture Library Details |
7 |
No name |
8 |
No name |
9 |
No name |
12 |
Boxed, no labels |
13 |
Boxed |
14 |
Document Details |
15 |
Newsletter |
16 |
Newsletter, no lines |
17 |
Shaded |
18 |
Issues Boxed |
19 |
Issues Boxed, no labels |