Share via


ContentType.SchemaXml property

Gets a value that specifies the XML Schema representing the content type.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public ReadOnly Property SchemaXml As String
    Get
'Usage
Dim instance As ContentType
Dim value As String

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

Property value

Type: System.String
Returns a String instance representing the XML Schema representing the content type.

Exceptions

Exception Condition
SPException

Neither the content type nor the parent of the content type exist on the site. Error code: -2146232832.

See also

Reference

ContentType class

ContentType members

Microsoft.SharePoint.Client namespace