Partager via


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

<ResourcesAttribute("ImageLinkLiteral", "Advanced", "ImageLink")> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property ImageLink As String
    Get
    Set

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