共用方式為


WebPart.HelpLink property

NOTE: This API is now obsolete.

取得或設定為說明檔,以 HTML 格式的 URL 或檔案系統路徑。

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

Syntax

'宣告
<WebPartStorageAttribute(Storage.Shared)> _
<HtmlDesignerAttribute("", HtmlEditorBuilderType := "file")> _
<ObsoleteAttribute("Use HelpUrl instead.")> _
Public Property HelpLink As String
    Get
    Set
'用途
Dim instance As WebPart
Dim value As String

value = instance.HelpLink

instance.HelpLink = value
[WebPartStorageAttribute(Storage.Shared)]
[HtmlDesignerAttribute("", HtmlEditorBuilderType = "file")]
[ObsoleteAttribute("Use HelpUrl instead.")]
public string HelpLink { get; set; }

Property value

Type: System.String
string指定可用來提供資訊描述性或指示為 HTML 檔案的 URL。預設值為String.Empty。

備註

使用此屬性可傳回可協助使用者互動與網頁組件的內容。當您設定此屬性時,網頁組件基礎結構協助將命令加入至網頁組件功能表期間轉譯。按一下 [說明] 命令會開啟新瀏覽器視窗,瀏覽至這個 URL。

這個屬性無法依個別使用者個人化。WebPartStorageAttribute其值為Storage.Shared,這會指定屬性會儲存具有相同值的所有使用者。僅限具有寫入網頁] 權限的使用者可以設定這個屬性。以程式設計方式設定,或者它可以設定透過 [網頁組件] 工作窗格,在 [共用] 檢視的 Web 型使用者介面中,或使用SharePoint Foundation-相容的 HTML 編輯器,例如SharePoint Designer。

請參閱

參照

WebPart class

WebPart members

Microsoft.SharePoint.WebPartPages namespace