This topic has not yet been rated - Rate this topic

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)]
[ClientCallableAttribute]
public string DefaultViewUrl { get; }

Property Value

Type: System.String
A string that contains the URL.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Relative to what?
This document should be updated to include what the url is relative to.