共用方式為


SPView.ViewBody property

取得或設定檢視的主體。

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

Syntax

'宣告
Public Property ViewBody As String
    Get
    Set
'用途
Dim instance As SPView
Dim value As String

value = instance.ViewBody

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

Property value

Type: System.String
共同作業應用程式標記語言 (連同 CAML)字串,包含檢視主體定義。

備註

如需有關檢視本文的詳細資訊,請參閱ViewBody項目。

請參閱

參照

SPView class

SPView members

Microsoft.SharePoint namespace