Partager via


CamlQuery.ViewXml - Propriété

Gets or sets value that specifies the XML schema that defines the list view.

Espace de noms :  Microsoft.SharePoint.Client
Assemblys :   Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)

Syntaxe

'Déclaration
Public Property ViewXml As String
    Get
    Set
'Utilisation
Dim instance As CamlQuery
Dim value As String

value = instance.ViewXml

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

Valeur de propriété

Type : System.String
Returns String.

Remarques

It must be une référence Null (Rien dans Visual Basic), empty, or an XML fragment that conforms to the ViewDefinition type.

The FieldDefinitions type contains a collection of zero or more fields.

Schema

Xs:complexType name = “FieldDefinitions” 
   Xs:sequence
      Xs:element name = “Field” type = “FieldDefinition” minOccurs = “0” maxOccurs = “unbounded”/
   /xs:sequence
/xs:complexType

Voir aussi

Référence

CamlQuery classe

CamlQuery - Membres

Microsoft.SharePoint.Client - Espace de noms