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)

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _
Public Overridable Property XmlDefinition As String
    Get
    Set
'Usage
Dim instance As DataFormWebPart
Dim value As String

value = instance.XmlDefinition

instance.XmlDefinition = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public virtual string XmlDefinition { get; set; }

Property value

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

Remarks

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.

See also

Reference

DataFormWebPart class

DataFormWebPart members

Microsoft.SharePoint.WebPartPages namespace