Click or drag to resize
QueryExtensionsAsValue Method
Converts object to a query value which can be used as a query parameter

Namespace: CMS.DataEngine.Query
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public static QueryValueExpression AsValue(
	this Object value,
	bool expand = false
)

Parameters

value
Type: SystemObject
Value
expand (Optional)
Type: SystemBoolean
If true, the value expands as constant

Return Value

Type: QueryValueExpression

Usage Note

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