共用方式為


TitleBarWebPart.HeaderCaption property

取得或設定顯示在 [網頁組件的標題列標題上方的標題。

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

Syntax

'宣告
<WebPartStorageAttribute(Storage.Shared)> _
Public Property HeaderCaption As String
    Get
    Set
'用途
Dim instance As TitleBarWebPart
Dim value As String

value = instance.HeaderCaption

instance.HeaderCaption = value
[WebPartStorageAttribute(Storage.Shared)]
public string HeaderCaption { get; set; }

Property value

Type: System.String
字串,表示會顯示在 [網頁組件的標題列標題上方的標題。

備註

HeaderCaption屬性是讀取/寫入。

請參閱

參照

TitleBarWebPart class

TitleBarWebPart members

Microsoft.SharePoint.WebPartPages namespace