SPView.PropertiesXml property
取得屬性的檢視,包括 GUID、 類型、 顯示名稱、 URL,以及基底檢視的識別碼。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property PropertiesXml As String
Get
'用途
Dim instance As SPView
Dim value As String
value = instance.PropertiesXml
public string PropertiesXml { get; }
Property value
Type: System.String
共同作業應用程式標記語言 (連同 CAML)字串,包含指定的屬性的片段。
備註
PropertiesXml屬性會傳回字串,以下列形式:
<View Name="{7591FC7D-8304-42C7-9456-09F4241AC6F8}"
Type="HTML" DisplayName="View_Name"
Url="Lists/List_Title/File_Name.aspx"
BaseViewID="1" />