Share via


SPLinkButton.ImageUrl property

Gets or sets the URL of an image to display in the SPLinkButton control.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property ImageUrl As String
    Get
    Set
'Usage
Dim instance As SPLinkButton
Dim value As String

value = instance.ImageUrl

instance.ImageUrl = value
public string ImageUrl { get; set; }

Property value

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

See also

Reference

SPLinkButton class

SPLinkButton members

Microsoft.SharePoint.WebControls namespace