Partager via


View.ViewData - Propriété

Gets or sets a value that specifies the view data for 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 ViewData As String
    Get
    Set
'Utilisation
Dim instance As View
Dim value As String

value = instance.ViewData

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

Valeur de propriété

Type : System.String
Returns a String instance representing the view data for the list view.

Remarques

It must be une référence Null (Rien dans Visual Basic) or an XML fragment that conforms to the following XML schema:<xs:sequence><xs:element name=”FieldRef” type=”FieldRefDefinitionViewData” minOccurs=”3” maxOccurs=”5”/></xs:sequence>where FieldRefDefinitionViewData.

Schema

<xs:complexType name="ListMetaDataDefault">
    <xs:sequence>
      <xs:element name="Forms" type="ListFormSet" />
    </xs:sequence>
</xs:complexType>

Voir aussi

Référence

View classe

View - Membres

Microsoft.SharePoint.Client - Espace de noms