Share via


WebPartGalleryItem.IconUrl property

When overridden in a derived class, gets a URL that references an icon to be displayed along with the item.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property IconUrl As String
    Get
'Usage
Dim instance As WebPartGalleryItem
Dim value As String

value = instance.IconUrl
public abstract string IconUrl { get; }

Property value

Type: System.String
A URL that references an icon.

See also

Reference

WebPartGalleryItem class

WebPartGalleryItem members

Microsoft.SharePoint.WebPartPages namespace