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

DataFormWebPart.XmlDefinition property

Gets or sets the view CAML associated with this Data Form Web Part.

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

public virtual string XmlDefinition { get; set; }

Property value

Type: System.String
A String that contains inline the view CAML.

The XmlDefinitionLink property contains the URL local of an external file that contains the view CAML. The XmlDefinition property takes precedence over the XmlDefinitionLink property.

© 2015 Microsoft