SPField.SchemaXml Property
Gets or sets the schema that defines the field.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
Public Property SchemaXml As String
Get
Set
Dim instance As SPField
Dim value As String
value = instance.SchemaXml
instance.SchemaXml = value
public string SchemaXml { get; set; }
Property Value
Type: System.String
A Collaborative Application Markup Language Core Schemas string that contains the schema.
Remarks
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.