PageViewerWebPart.ContentLink property
取得或設定此 Web 組件提供內容的 URL 或檔案路徑。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<ResourcesAttribute("ContentLinkLiteral", "Advanced", "ContentLink")> _
<RequiresDesignerPermissionAttribute> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property ContentLink As String
Get
Set
'用途
Dim instance As PageViewerWebPart
Dim value As String
value = instance.ContentLink
instance.ContentLink = value
[ResourcesAttribute("ContentLinkLiteral", "Advanced", "ContentLink")]
[RequiresDesignerPermissionAttribute]
[WebPartStorageAttribute(Storage.Shared)]
public string ContentLink { get; set; }
Property value
Type: System.String
字串,包含提供此 Web 組件的內容的 URL 或檔案路徑。
備註
ContentLink屬性是讀取/寫入。使用這個屬性來指示的位置的網頁組件,請取得此 Web 組件的內容。