WebPart.PartImageSmall Property

NOTE: This API is now obsolete.

Gets or sets the URL of an image file that appears in the title of a Web Part.

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

Syntax

<HtmlDesignerAttribute("", HtmlEditorBuilderType := "picture")> _
<ObsoleteAttribute("Use TitleIconImageUrl instead.")> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property PartImageSmall As String
    Get
    Set

Dim instance As WebPart
Dim value As String

value = instance.PartImageSmall

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

Property Value

Type: System.String
A URL to an image file.

Remarks

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 Windows SharePoint Services–compatible HTML editor, such as Microsoft Office SharePoint Designer 2007.

See Also

Reference

WebPart Class

WebPart Members

Microsoft.SharePoint.WebPartPages Namespace