View.HtmlSchemaXml Property

Gets a value that specifies the XML document that represents the list view.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public ReadOnly Property HtmlSchemaXml As String
    Get
'Usage
Dim instance As View
Dim value As String

value = instance.HtmlSchemaXml
[RemoteAttribute]
public string HtmlSchemaXml { get; }

Property Value

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

Exceptions

Exception Condition
[System.UnauthorizedAccessException]

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

Remarks

It must not be a null reference (Nothing in 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>

See Also

Reference

View Class

View Members

Microsoft.SharePoint.Client Namespace