Click or drag to resize
AbstractSearchSyntaxHelper.GetFieldCondition Method (String, Object, Nullable<Boolean>)
Gets the search condition for the given field

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

Parameters

fieldName
Type: System.String
Field name
val
Type: System.Object
Field value
valueMatch (Optional)
Type: System.Nullable<Boolean>
Defines if the condition is required. True means required, false means all except, null means default operator (typically optional)

Return Value

Type: String

Implements

ISearchSyntaxHelper.GetFieldCondition(String, Object, Nullable<Boolean>)
See Also