CQG API 4.0 - Revised
RequestExpression Method
See Also  Send Feedback
cqg_expression_request

Specifies the expression request, which contains all the parameters as properties.

Notes:

Values provided for properties that are not required are ignored.

If values are not provided for properties that are required, an exception will be thrown.

CQGCEL Interface : RequestExpression Method

Glossary Item Box

Description

Starts an asynchronous request for an expression.

Syntax

Visual Basic
Public Function RequestExpression( _
   ByVal cqg_expression_request As CQGExpressionRequest _
) As CQGExpression

Parameters

cqg_expression_request

Specifies the expression request, which contains all the parameters as properties.

Notes:

Values provided for properties that are not required are ignored.

If values are not provided for properties that are required, an exception will be thrown.

Remarks

An exception will be thrown if asynchronous request could not be made.

Otherwise, returns the CQGExpression object, which doesn't contain any expression yet and which status is rsInProgress.

Notes:

It is a good practice to cancel the request as soon as it becomes unnecessary. Such approach allows using memory resources more optimal.

Call RemoveExpression for request cancelling.

See Also