Condividi tramite


WebPart.HelpLink Property

NOTE: This API is now obsolete.

Gets or sets a URL or file system path to a help file in HTML format.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

value = instance.HelpLink

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

Property Value

Type: System.String
A string that specifies a URL to an HTML file that can be used to provide descriptive information or instructions. The default value is String.Empty.

Remarks

Use this property to return content that will help the end user interact with a Web Part. When you set this property, the Web Part infrastructure adds a Help command to the Web Part menu during rendering. Clicking the Help command opens a new browser window, which navigates to this URL.

This property cannot be personalized by individual users. The value of its WebPartStorageAttribute is Storage.Shared, which specifies that the property is stored with the same value for all users. Only users with the Write web pages right can set this property. It can be set programmatically, or it can be set through the Web Part task pane in the shared view of the Web-based user interface, or by using a SharePoint Foundation-compatible HTML editor, such as SharePoint Designer.

See Also

Reference

WebPart Class

WebPart Members

Microsoft.SharePoint.WebPartPages Namespace