다음을 통해 공유


ContentType.SchemaXml Property

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

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public ReadOnly Property SchemaXml As String
    Get
'Usage
Dim instance As ContentType
Dim value As String

value = instance.SchemaXml
[RemoteAttribute]
public string SchemaXml { get; }

Property Value

Type: System.String
Returns a String instance representing the XML Schema representing the content type.

Exceptions

Exception Condition
[Microsoft.SharePoint.SPException]

Neither the content type nor the parent of the content type exist on the site. Error code: -2146232832.

See Also

Reference

ContentType Class

ContentType Members

Microsoft.SharePoint.Client Namespace