DataFormWebPart.XmlDefinitionLink property

Gets or sets a URL of an external file that contains view CAML associated with the DataFormWebPart.

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

Syntax

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

value = instance.XmlDefinitionLink

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

Property value

Type: System.String
The URL of an external file that contains the XML definition. The default is an empty string.

Remarks

The default value of this property is an empty string.

The XmlDefinitionLink property contains the URL 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