共用方式為


WebPart.TitleUrl property

取得或設定標題連結。

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

Syntax

'宣告
<WebPartStorageAttribute(Storage.None)> _
Public Overrides Property TitleUrl As String
    Get
    Set
'用途
Dim instance As WebPart
Dim value As String

value = instance.TitleUrl

instance.TitleUrl = value
[WebPartStorageAttribute(Storage.None)]
public override string TitleUrl { get; set; }

Property value

Type: System.String
string包含 URL。預設值為String.Empty。

Implements

IWebPart.TitleUrl

備註

當您將 URL 指派給TitleUrl屬性時,網頁組件標題會變成連結。如果使用者按一下連結,在瀏覽器瀏覽從網頁組件] 頁面上,在 URL 的內容。標題連結不在作用中時,頁面是一種顯示模式處於其中控制項可以拖曳,例如編輯 」、 「 設計 」 或 「 目錄模式

請參閱

參照

WebPart class

WebPart members

Microsoft.SharePoint.WebPartPages namespace