Share via


List.DefaultViewUrl property

Gets the URL of the default view for the list.

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

Syntax

'Declaration
Public ReadOnly Property DefaultViewUrl As String
    Get
'Usage
Dim instance As List
Dim value As String

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

Property value

Type: System.String
A string that contains the URL.

Remarks

It must not be a null reference (Nothing in Visual Basic). It must not be empty. It must be a URL of server-relative form.

See also

Reference

List class

List members

Microsoft.SharePoint.Client namespace