Click or drag to resize
DataQueryBaseTQueryAsSingleColumn Method
Creates a single column query from the given query

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public virtual IDataQuery AsSingleColumn(
	string defaultColumn = null,
	bool forceColumn = false
)

Parameters

defaultColumn (Optional)
Type: SystemString
Specific column to use in case query doesn't return single column yet
forceColumn (Optional)
Type: SystemBoolean
If true, the given column is forced to the output

Return Value

Type: IDataQuery

Implements

IDataQueryAsSingleColumn(String, Boolean)
See Also