Share via


SPUserCustomAction.ImageUrl property

Gets and sets the URL to an image that represents an icon for the custom action.

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

Syntax

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

value = instance.ImageUrl

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

Property value

Type: System.String
A string that contains a relative path to an image.

See also

Reference

SPUserCustomAction class

SPUserCustomAction members

Microsoft.SharePoint namespace