DefaultViewUrl Property
Collapse the table of content
Expand the table of content

SPList.DefaultViewUrl Property

Gets the URL of the default view for the list.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.NotNull)]
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.ServerRelativeUrl)]
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.NotEmpty)]
public string DefaultViewUrl { get; }

Property Value

Type: System.String
A string that contains the URL.
© 2015 Microsoft