Click or drag to resize

DataReaderCreateQueryCondition Method (String, String)

Creates a QueryCondition to read samples with any sample states, any view states and any instance states.

Namespace:  OpenDDSharp.DDS
Assembly:  OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax
public QueryCondition CreateQueryCondition(
	string queryExpression,
	params string[] queryParameters
)

Parameters

queryExpression
Type: SystemString
The query string, which must be a subset of the SQL query language.
queryParameters
Type: SystemString
A sequence of strings which are the parameter values used in the SQL query string. The number of values in queryParameters must be equal or greater than the highest referenced n token in the queryExpression.

Return Value

Type: QueryCondition
The newly created QueryCondition on success, otherwise .
Remarks
The returned QueryCondition will be attached and belong to the DataReader.
See Also