Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS Namespaces
CMS.DataEngine Namespaces
CMS.DataEngine.Query
QueryExtensions Class
QueryExtensions Methods
AsColumn Method
AsExpression Method
AsLiteral(T) Method
AsValue(T) Method
EnsureDataSet(TInfo) Method
GetCount(TInfo) Method
QueryExtensions
AsColumn Method
Converts string to a query column which can be used in a query
Namespace:
CMS.DataEngine.Query
Assembly:
CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax
C#
Copy
public
static
QueryColumn
AsColumn
(
this
string
columnName
)
Parameters
columnName
Type:
System
String
Column name
Return Value
Type:
QueryColumn
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
QueryExtensions Class
CMS.DataEngine.Query Namespace
Copyright (c) 2019 Kentico Software
Send comments on this topic to
support@kentico.com