ImageWebPart.ImageLink property

Gets or sets an URL or file path that specifies the location of an image file.

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

Syntax

'Declaration
<ResourcesAttribute("ImageLinkLiteral", "Advanced", "ImageLink")> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property ImageLink As String
    Get
    Set
'Usage
Dim instance As ImageWebPart
Dim value As String

value = instance.ImageLink

instance.ImageLink = value
[ResourcesAttribute("ImageLinkLiteral", "Advanced", "ImageLink")]
[WebPartStorageAttribute(Storage.Shared)]
public string ImageLink { get; set; }

Property value

Type: System.String
String URL or file path that specifies the location of an image file.

Remarks

The ImageLink property is read/write.

See also

Reference

ImageWebPart class

ImageWebPart members

Microsoft.SharePoint.WebPartPages namespace