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)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<ResourcesAttribute("ImageLinkLiteral", "Advanced", "ImageLink")> _
Public Property ImageLink As String
Get
Set
'Usage
Dim instance As ImageWebPart
Dim value As String
value = instance.ImageLink
instance.ImageLink = value
[WebPartStorageAttribute(Storage.Shared)]
[ResourcesAttribute("ImageLinkLiteral", "Advanced", "ImageLink")]
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.