Partilhar via


SPList.ImageUrl Property

Gets the server-relative URL for the icon that represents the list.

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

Syntax

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

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

Property Value

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

See Also

Reference

SPList Class

SPList Members

Microsoft.SharePoint Namespace