SPView.SchemaXml-Eigenschaft
Ruft das Schema ab, das die Ansicht definiert.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property SchemaXml As String
Get
'Usage
Dim instance As SPView
Dim value As String
value = instance.SchemaXml
public string SchemaXml { get; }
Eigenschaftswert
Typ: System.String
Eine Collaborative Application Markup Language (CAML) -Zeichenfolge, die das Schema der Ansicht enthält.
Hinweise
Die SchemaXml -Eigenschaft gibt einen String CAML wie folgt:
<View Name="{7591FC7D-8304-42C7-9456-09F4241AC6F8}" Type="HTML"
DisplayName="TestView1" Url="Lists/List_Name/File_Name.aspx"
BaseViewID="1" >
<Query>
<GroupBy Collapse="FALSE">
<FieldRef Name="Title" />
</GroupBy>
</Query>
<ViewFields>
<FieldRef Name="Attachments" />
<FieldRef Name="LinkTitle" />
<FieldRef Name="_x004e_um1" />
<FieldRef Name="_x006e_um2" />
<FieldRef Name="_x006e_um3" />
</ViewFields>
<RowLimit Paged="TRUE">100</RowLimit>
<Aggregations Value="On">
<FieldRef Name="_x006e_um2" Type="SUM" />
<FieldRef Name="_x004e_um1" Type="AVG" />
</Aggregations>
</View>