Share via


View.ViewType property

Gets a value that specifies the type of the list view.

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

Syntax

'Declaration
Public ReadOnly Property ViewType As String
    Get
'Usage
Dim instance As View
Dim value As String

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

Property value

Type: System.String
Returns a String instance representing the type of the list view.

Remarks

It must be one of the following: “HTML”, “GRID”, “CALENDAR”, “RECURRENCE”, “CHART”, or “GANTT".

See also

Reference

View class

View members

Microsoft.SharePoint.Client namespace