SP.ContentType.schemaXml Property

Applies to: SharePoint Foundation 2010

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

var value = SP.ContentType.get_schemaXml(); 

Property Value

Type: String

Applies To

SP.ContentType Class

Exceptions

  • [Microsoft.SharePoint.SPException]
    Neither the content type nor the parent of the content type exist on the site. Error code: -2146232832.

See Also

Reference

SP.ContentType Methods

SP.ContentType Properties

SP Namespace