SPView.ImageUrl Property

Gets the URL of the image that is associated with the list view.

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

Syntax

'Declaration
<ClientCallableAttribute> _
<ClientCallableConstraintAttribute(FixedId := "validUrl", Type := ClientCallableConstraintType.Custom,  _
    Value := "It MUST be a server-relative URL or an absolute URL.")> _
Public ReadOnly Property ImageUrl As String
    Get
'Usage
Dim instance As SPView
Dim value As String

value = instance.ImageUrl
[ClientCallableAttribute]
[ClientCallableConstraintAttribute(FixedId = "validUrl", Type = ClientCallableConstraintType.Custom, Value = "It MUST be a server-relative URL or an absolute URL.")]
public string ImageUrl { get; }

Property Value

Type: System.String
String
The URL of the image.

See Also

Reference

SPView Class

SPView Members

Microsoft.SharePoint Namespace