共用方式為


WebPart.Title 屬性

取得或設定值,指定網頁組件的標題。

命名空間:  Microsoft.SharePoint.Client.WebParts
組件:   Microsoft.SharePoint.Client.Silverlight (在 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone (在 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client (在 Microsoft.SharePoint.Client.dll 中)

語法

'宣告
Public Property Title As String
    Get
    Set
'用途
Dim instance As WebPart
Dim value As String

value = instance.Title

instance.Title = value
public string Title { get; set; }

屬性值

類型:System.String
傳回代表的網頁組件標題String執行個體。

備註

如果此屬性設定為null 參考 (未執行任何動作 於 Visual Basic 中),網頁組件標題必須改為重設為預設值如果網頁組件的定義中指定。

請參閱

參照

WebPart 類別

WebPart 成員

Microsoft.SharePoint.Client.WebParts 命名空間