次の方法で共有


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)

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