Partager via


View.HtmlSchemaXml - Propriété

Gets a value that specifies the XML document that represents 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 ReadOnly Property HtmlSchemaXml As String
    Get
'Utilisation
Dim instance As View
Dim value As String

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

Valeur de propriété

Type : System.String
Returns a String instance representing the XML document that represents the list view.

Exceptions

Exception Condition
UnauthorizedAccessException

The current user has insufficient permissions. Error code: -2147024891.

Remarques

It must not be une référence Null (Rien dans Visual Basic). It must be exactly one XML fragment conforming to ViewDefinitions.

The ListMetaDataDefinition type contains various elements used to define the structure of a list.

Schema

<xs:complexType name="ListMetaDataDefinition">
    <xs:all>
      <xs:element name="ContentTypes" type="ContentTypeReferences" minOccurs="0" maxOccurs="1" />
      <xs:element name="Default" type="ListMetaDataDefault" minOccurs="0" maxOccurs="1" />
      <xs:element name="DefaultDescription" type="xs:string" minOccurs="0" maxOccurs="1" />
      <xs:element name="DocumentLibraryTemplate" type="xs:string" minOccurs="0" maxOccurs="1" /> <xs:element name="Fields" type="FieldDefinitions" minOccurs="0" maxOccurs="1" />
      <xs:element name="Forms" type="ListFormSet" minOccurs="0" maxOccurs="1" />
      <xs:element name="Security" type="ListSecurity" minOccurs="0" maxOccurs="1" />
      <xs:element name="Toolbar" type="ToolbarDefinition" minOccurs="0" maxOccurs="1" />
      <xs:element name="Views" type="ViewDefinitions" minOccurs="0" maxOccurs="1" />
    </xs:all>
</xs:complexType>

Voir aussi

Référence

View classe

View - Membres

Microsoft.SharePoint.Client - Espace de noms