Kentico 10 API Reference
Kentico 10 API Reference
Namespaces
CMS.DataEngine Namespaces
CMS.DataEngine.Query
QueryExtensions Class
QueryExtensions Methods
AsColumn Method
AsExpression Method
AsLiteral(T) Method
AsValue(T) 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: 10.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) 2016 Kentico Software
Send comments on this topic to
support@kentico.com