Click or drag to resize
AbstractSearchSyntaxHelperGetFieldCondition Method (String, Object, NullableBoolean)
Gets the search condition for the given field

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

Parameters

fieldName
Type: SystemString
Field name
val
Type: SystemObject
Field 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, NullableBoolean)
See Also