Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SchemaXml property
Collapse the table of content
Expand the table of content

SPField.SchemaXml property

Gets or sets the schema that defines the field.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public string SchemaXml { get; set; }

Property value

Type: System.String
A Collaborative Application Markup Language (CAML) string that contains the schema.

Do not call the Update method when using the SchemaXml property to modify a field.

Using this property to set a read-only attribute, such as InternalName, generates an exception.

Show:
© 2015 Microsoft