Click or drag to resize
SphinxQLParameterCollectionContains Method (Object)
Indicates whether a SphinxQLParameter with the specified Value is contained in the collection.

Namespace: SphinxConnector.SphinxQL
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 3.12.6
Syntax
public override bool Contains(
	Object value
)

Parameters

value
Type: SystemObject
The Value of the SphinxQLParameter to look for in the collection.

Return Value

Type: Boolean
true if the SphinxQLParameter is in the collection; otherwise false.

Implements

IListContains(Object)
Remarks
In previous versions, this method checked whether this collection contained a SphinxQLParameter with the Value property equal to the specified value. This behavior did not match other data providers. The value parameter should be an instance of SphinxQLParameter. For backwards compatibility, the old behavior will continue to work for now, but will be removed in a future release. Until that point, this method will check whether value is an instance of SphinxQLParameter, if it is, the collection will searched for that instance. If it is not, the collection will be searched for a parameter where Value equals value.
See Also