Click or drag to resize
AbstractSearchSyntaxHelperGetFieldCondition Method (String, Object, Object, NullableBoolean)
Gets the field condition for a range of values

Namespace: CMS.Search
Assembly: CMS.Search (in CMS.Search.dll) Version: 12.0.0
Syntax
C#
public string GetFieldCondition(
	string fieldName,
	Object from,
	Object to,
	Nullable<bool> valueMatch = true
)

Parameters

fieldName
Type: SystemString
Field name
from
Type: SystemObject
From value
to
Type: SystemObject
To value
valueMatch (Optional)
Type: SystemNullableBoolean
Defines if the condition is required. True means required, false means all except, null means default operator (typically optional)

Return Value

Type: String

Implements

ISearchSyntaxHelperGetFieldCondition(String, Object, Object, NullableBoolean)
See Also