WebPart.PartImageLarge property

NOTE: This API is now obsolete.

Gets or sets the URL of an image file containing a 16 x 16 pixel image, typically used to depict icons.

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

Syntax

'Declaration
<ObsoleteAttribute("Use CatalogIconImageUrl instead.")> _
<WebPartStorageAttribute(Storage.Shared)> _
<HtmlDesignerAttribute("", HtmlEditorBuilderType := "picture")> _
Public Property PartImageLarge As String
    Get
    Set
'Usage
Dim instance As WebPart
Dim value As String

value = instance.PartImageLarge

instance.PartImageLarge = value
[ObsoleteAttribute("Use CatalogIconImageUrl instead.")]
[WebPartStorageAttribute(Storage.Shared)]
[HtmlDesignerAttribute("", HtmlEditorBuilderType = "picture")]
public string PartImageLarge { get; set; }

Property value

Type: System.String
A string containing the URL to an image file.

Remarks

The Description property of the Web Part is used for the alt text for this image.

This property cannot be personalized by individual users. The value of its WebPartStorageAttribute is Storage.Shared, which specifies that the property is stored with the same value for all users. Only users with the Write web pages right can set this property. It can be set programmatically, or it can be set through the Web Part task pane in the shared view of the Web-based user interface, or by using a SharePoint Foundation–compatible HTML editor, such as SharePoint Designer.

See also

Reference

WebPart class

WebPart members

Microsoft.SharePoint.WebPartPages namespace