共用方式為


ImageWebPart.ImageLink property

取得或設定指定的影像檔案位置的 URL 或檔案路徑。

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 或檔案的路徑。

備註

ImageLink屬性是讀取/寫入。

請參閱

參照

ImageWebPart class

ImageWebPart members

Microsoft.SharePoint.WebPartPages namespace