Field.SchemaXml 属性
Gets or sets a value that specifies the XML schema that defines the field.
命名空间: 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 Property SchemaXml As String
Get
Set
用法
Dim instance As Field
Dim value As String
value = instance.SchemaXml
instance.SchemaXml = value
public string SchemaXml { get; set; }
属性值
类型:System.String
Returns a String instance representing the XML schema that defines the field.
异常
异常 | 条件 |
---|---|
[Microsoft.SharePoint.SPException] | The server does not allow properties of the field to be changed. Error code: -2146232832. |
[System.NotSupportedException] | Value is changed to a non-空引用(无 在 Visual Basic 中) or non-empty value, and the list is an external list. Error code: -1. |
备注
It must be 空引用(无 在 Visual Basic 中), empty, or an XML fragment that conforms to the FieldDefinition type. A field definition describes the structure and format of a field that is used within a list or content type.