Condividi tramite


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Property SchemaXmlWithResourceTokens As String
    Get
    Set
'Usage
Dim instance As SPContentType
Dim value As String

value = instance.SchemaXmlWithResourceTokens

instance.SchemaXmlWithResourceTokens = value
public string SchemaXmlWithResourceTokens { get; set; }

Property Value

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

Remarks

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.

See Also

Reference

SPContentType Class

SPContentType Members

Microsoft.SharePoint Namespace

SchemaXml