SPContentType.SchemaXmlWithResourceTokens property

Gets a non-localized version of the XML schema that defines the content type.

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

public string SchemaXmlWithResourceTokens { get; set; }

Property value

Type: System.String
The XML schema that defines the content type.

A content type schema can be defined with resource tokens so that the same schema can be used for multiple languages. The SchemaXmlWithResourceTokens returns that version of the schema for a content type. To get a localized version of the schema, use the SchemaXml property.

Show: