SPField.SchemaXml - Propriété

Obtient ou définit le schéma qui définit le champ.

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

Syntaxe

'Déclaration
Public Property SchemaXml As String
    Get
    Set
'Utilisation
Dim instance As SPField
Dim value As String

value = instance.SchemaXml

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

Valeur de propriété

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

Remarques

N'appelez pas la méthode Update lors de l'utilisation de la propriété SchemaXml pour modifier un champ.

L'utilisation de cette propriété pour définir un attribut en lecture seule, par exemple InternalName, génère une exception.

Voir aussi

Référence

SPField classe

SPField - Membres

Microsoft.SharePoint - Espace de noms