CQG API 4.0 - Revised
Add Method
See Also  Send Feedback
name_

Parameter's name, represented as String

type_

Parameter's type represented as eExecutionPatternParameterType

value_

Parameter's value, represented as String.

If the parameter's type is epptObject, epptCollection, or epptCollectionItem; its value should be empty string.

CQGExecutionPatternParameters Collection : Add Method

Glossary Item Box

Description

Adds a new parameter to the collection.

Syntax

Visual Basic
Public Function Add( _
   ByVal name_ As String, _
   ByVal type_ As eExecutionPatternParameterType, _
   Optional ByVal value_ As String = "" _
) As CQGExecutionPatternParameter

Parameters

name_

Parameter's name, represented as String

type_
ValueDescription
epptBool

Boolean type

epptCollection

Collection type

epptCollectionItem

Collection item type

epptDouble

Double type

epptInt32

Integer type

epptObject

Object type

epptString

String type

Parameter's type represented as eExecutionPatternParameterType

value_

Parameter's value, represented as String.

If the parameter's type is epptObject, epptCollection, or epptCollectionItem; its value should be empty string.

Return Type

Returns the added parameter, represented as CQGExecutionPatternParameter

See Also