ContentByQueryWebPart.DataMappingViewFields Property

Gets or sets the view fields for data mapping.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property DataMappingViewFields As String
    Get
    Set
'Usage
Dim instance As ContentByQueryWebPart
Dim value As String

value = instance.DataMappingViewFields

instance.DataMappingViewFields = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public string DataMappingViewFields { get; set; }

Property Value

Type: System.String
Returns String.

Remarks

A string that represents the fields that are requested by data mapping when retrieving data. The fields can be either "internalName" or "GUID", and they are separated by semicolons. You can specify the field types using a comma after the "internalName" or the "GUID" of the field.

See Also

Reference

ContentByQueryWebPart Class

ContentByQueryWebPart Members

Microsoft.SharePoint.Publishing.WebControls Namespace