共用方式為


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)
Available in Sandboxed Solutions: No

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