Partager via


SPViewFieldCollection.SchemaXml - Propriété

Obtient le schéma qui spécifie les champs d'affichage de la collection.

Espace de noms :  Microsoft.SharePoint
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public ReadOnly Property SchemaXml As String
    Get
'Utilisation
Dim instance As SPViewFieldCollection
Dim value As String

value = instance.SchemaXml
public string SchemaXml { get; }

Valeur de propriété

Type : System.String
Une chaîne de Langage CAML (Collaborative Application Markup Language) qui contient le schéma.

Remarques

La propriété SchemaXml renvoie une chaîne comme suit.

<FieldRef Name="LinkTitleNoMenu" Explicit="TRUE" />
<FieldRef Name="Body" Explicit="TRUE" />
<FieldRef Name="Author" Explicit="TRUE" />
<FieldRef Name="Modified" Explicit="TRUE" />
<FieldRef Name="Attachments" Explicit="TRUE" />

Voir aussi

Référence

SPViewFieldCollection classe

SPViewFieldCollection - Membres

Microsoft.SharePoint - Espace de noms