ContentType.SchemaXml 属性

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

命名空间:  Microsoft.SharePoint.Client
程序集:   Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)

语法

声明
Public ReadOnly Property SchemaXml As String
    Get
用法
Dim instance As ContentType
Dim value As String

value = instance.SchemaXml
public string SchemaXml { get; }

属性值

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

异常

异常 条件
SPException

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

另请参阅

引用

ContentType 类

ContentType 成员

Microsoft.SharePoint.Client 命名空间