SPListTemplate.ImageUrl Property
Gets the relative path, based on the server, for the image used to represent the list definition or list template.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.MaxLength, Value := )> _
<ClientCallableAttribute> _
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.NotNull)> _
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.Custom, FixedId := "a", Value := "It MUST be a server-relative URL or an absolute URL.")> _
Public ReadOnly Property ImageUrl As String
Get
'Usage
Dim instance As SPListTemplate
Dim value As String
value = instance.ImageUrl
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.MaxLength, Value = )]
[ClientCallableAttribute]
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.NotNull)]
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.Custom, FixedId = "a", Value = "It MUST be a server-relative URL or an absolute URL.")]
public string ImageUrl { get; }
Property Value
Type: System.String
A string that contains the URL.