This topic has not yet been rated - Rate this topic

SPContentType.SchemaXmlWithResourceTokens Property

SharePoint 2010

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

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ