Share via


CbqQueryVersionInfo.DataMappings property

Gets or sets the data mappings.

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

Syntax

'Declaration
Public Property DataMappings As String
    Get
    Set
'Usage
Dim instance As CbqQueryVersionInfo
Dim value As String

value = instance.DataMappings

instance.DataMappings = value
public string DataMappings { get; set; }

Property value

Type: System.String
A string that specifies the data mappings

Remarks

Data mapping enables the columns that have been retrieved from data to map to the display slot on the current style. Since it enables multiple columns to map to one slot, it selects the value from the first non-empty column.

Data mappings are separated by ”|”. Each data mapping is in the format "slot name : column information".If there is more than one column, each column’s information is separated by”;”.For example, the syntax "slot name : column1 information ; column2 information" separates the information of each column.Each column’s information is in the format "column Guid , column internal name , column type".

See also

Reference

CbqQueryVersionInfo class

CbqQueryVersionInfo members

Microsoft.SharePoint.Publishing namespace

DataMappings