Data structures functions

ContainsKey

Declaration

bool ContainsKey(VariantDictionary dictionary, Variant key)

Description

Checks whether a VariantDictionary contains a certain key.

Supported Runtime Versions

5.0

Parameters Description
dictionary The VariantDictionary to be checked.
key The key to look up.

Return Value

True, if the dictionary contains the key. False, if it does not contain the key.

ContainsKey

Declaration

bool ContainsKey(GroupJournalDictionary dictionary, string name)

Description

Checks whether a specific key is in the dictionary.

Supported Runtime Versions

5.0

Parameters Description
dictionary The dictionary to check.
name The key to check.

Return Value

True if the dictionary contains the key, false otherwise.

ContainsKey

Declaration

bool ContainsKey(CompanyJournalDictionary dictionary, string name)

Description

Checks whether a specific key is in the dictionary.

Supported Runtime Versions

5.0

Parameters Description
dictionary The dictionary to check.
name The key to check.

Return Value

True if the dictionary contains the key, false otherwise.

ContainsKey

Declaration

bool ContainsKey(JsonDictionary dictionary, string key)

Description

Returns true if property of given name exists in JsonDictionary.

Supported Runtime Versions

5.0

Parameters Description
dictionary JsonDictionary instance.
key Name of the property.

Return Value

True if property exists in the dictionary.

ContainsKey

Declaration

bool ContainsKey(IntDictionary dictionary, string key)

Description

Checks whether an IntDictionary contains a certain key.

Supported Runtime Versions

3.0, 4.0, 5.0

Parameters Description
dictionary The IntDictionary to be checked.
key The key to look up.

Return Value

True, if the dictionary contains the key. False, if it does not contain the key.

ContainsKey

Declaration

bool ContainsKey(StringDictionary dictionary, string key)

Description

Checks whether a StringDictionary contains a certain key.

Supported Runtime Versions

3.0, 4.0, 5.0

Parameters Description
dictionary The StringDictionary to be checked.
key The key to look up.

Return Value

True, if the dictionary contains the key. False, if it does not contain the key.

ContainsKey

Declaration

bool ContainsKey(DoubleDictionary dictionary, string key)

Description

Checks whether a DoubleDictionary contains a certain key.

Supported Runtime Versions

3.0, 4.0, 5.0

Parameters Description
dictionary The DoubleDictionary to be checked.
key The key to look up.

Return Value

True, if the dictionary contains the key. False, if it does not contain the key.

ContainsKey

Declaration

bool ContainsKey(BoolDictionary dictionary, string key)

Description

Checks whether a BoolDictionary contains a certain key.

Supported Runtime Versions

3.0, 4.0, 5.0

Parameters Description
dictionary The BoolDictionary to be checked.
key The key to look up.

Return Value

True, if the dictionary contains the key. False, if it does not contain the key.

CreateBoolDictionary

Declaration

BoolDictionary CreateBoolDictionary()

Description

Creates a new BoolDictionary.

Supported Runtime Versions

3.0, 4.0, 5.0

Parameters

The function has no parameters.

Return Value

A new BoolDictionary.

CreateDoubleDictionary

Declaration

DoubleDictionary CreateDoubleDictionary()

Description

Creates a new DoubleDictionary.

Supported Runtime Versions

3.0, 4.0, 5.0

Parameters

The function has no parameters.

Return Value

A new DoubleDictionary.

CreateIntDictionary

Declaration

IntDictionary CreateIntDictionary()

Description

Creates a new IntDictionary.

Supported Runtime Versions

3.0, 4.0, 5.0

Parameters

The function has no parameters.

Return Value

A new IntDictionary.

CreateJsonDictionary

Declaration

JsonDictionary CreateJsonDictionary()

Description

Creates and initializes an empty JsonDictionary instance.

Supported Runtime Versions

5.0

Parameters

The function has no parameters.

Return Value

New JsonDictionary instance.

CreateJsonDictionary

Declaration

JsonDictionary CreateJsonDictionary(string jsonString)

Description

Creates and initializes a JsonDictionary instance from given json string.

Supported Runtime Versions

5.0

Parameters Description
jsonString String which should be deserialized to a JsonDictionary.

Return Value

New JsonDictionary instance.

CreateNullVariant

Declaration

variant CreateNullVariant()

Description

Creates an empty variant.

Supported Runtime Versions

5.0

Parameters

The function has no parameters.

Return Value

An empty StringList.

CreateStringDictionary

Declaration

StringDictionary CreateStringDictionary()

Description

Creates a new StringDictionary.

Supported Runtime Versions

3.0, 4.0, 5.0

Parameters

The function has no parameters.

Return Value

A new StringDictionary.

CreateVariantDictionary

Declaration

VariantDictionary CreateVariantDictionary()

Description

Creates a new VariantDictionary.

Supported Runtime Versions

5.0

Parameters

The function has no parameters.

Return Value

A new VariantDictionary.

Keys

Declaration

VariantList Keys(VariantDictionary dictionary)

Description

Returns the keys of a VariantDictionary.

Supported Runtime Versions

5.0

Parameters Description
dictionary The VariantDictionary to return the keys of.

Return Value

The keys of the VariantDictionary.

Keys

Declaration

StringArray Keys(GroupJournalDictionary dictionary)

Description

Returns all keys of a group journal dictionary.

Supported Runtime Versions

5.0

Parameters Description
dictionary The dictionary to return all keys for.

Return Value

All keys stored in a dictionary.

Keys

Declaration

StringArray Keys(CompanyJournalDictionary dictionary)

Description

Returns all keys of a company journal dictionary.

Supported Runtime Versions

5.0

Parameters Description
dictionary The dictionary to return all keys for.

Return Value

All keys stored in a dictionary.

Keys

Declaration

StringList Keys(JsonDictionary dictionary)

Description

Returns list of properties existing in given JsonDictionary.

Supported Runtime Versions

5.0

Parameters Description
dictionary JsonDictionary instance.

Return Value

List of properties.

Keys

Declaration

StringList Keys(IntDictionary dictionary)

Description

Returns the keys of an IntDictionary.

Supported Runtime Versions

3.0, 4.0, 5.0

Parameters Description
dictionary The IntDictionary to return the keys of.

Return Value

The keys of the IntDictionary.

Keys

Declaration

StringList Keys(StringDictionary dictionary)

Description

Returns the keys of a StringDictionary.

Supported Runtime Versions

3.0, 4.0, 5.0

Parameters Description
dictionary The StringDictionary to return the keys of.

Return Value

The keys of the StringDictionary.

Keys

Declaration

StringList Keys(DoubleDictionary dictionary)

Description

Returns the keys of a DoubleDictionary.

Supported Runtime Versions

3.0, 4.0, 5.0

Parameters Description
dictionary The DoubleDictionary to return the keys of.

Return Value

The keys of the DoubleDictionary.

Keys

Declaration

StringList Keys(BoolDictionary dictionary)

Description

Returns the keys of a BoolDictionary.

Supported Runtime Versions

3.0, 4.0, 5.0

Parameters Description
dictionary The BoolDictionary to return the keys of.

Return Value

The keys of the BoolDictionary.