Click or drag to resize
QueryExtensionsAsLiteralT Method
Converts value to a literal value which can be used in a query

Namespace: CMS.DataEngine.Query
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax
C#
public static QueryExpression AsLiteral<T>(
	this T value
)

Parameters

value
Type: T
Value to convert

Type Parameters

T

Return Value

Type: QueryExpression

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . 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