Top Method Summary
Options Name Purpose
Consultingwerk.NameValuePair Add (character, character) Adds a NameValuePair to the List
Consultingwerk.NameValuePair Add (NameValuePair) Adds an item to the generic List
Add (NameValuePair[]) Adds an array of items to the generic List
Consultingwerk.NameValuePair AddWhenNotContained (NameValuePair) Adds an item to the generic List only when it is not yet contained - silently ignores keys that are already contained
LOGICAL ContainsName (character) Returns if the ListNameValuePair contains a pair this the given Name
Consultingwerk.NameValuePair FindByName (character) Finds a NameValuePair by it's Name
Consultingwerk.ListNameValuePair FromCharacterList (CharacterList) Returns a ListNameValuePair from a single delimited list
Consultingwerk.ListNameValuePair FromSingleDelimitedList (character) Returns a ListNameValuePair from a single delimited list
Consultingwerk.ListNameValuePair FromSingleDelimitedList (character, character) Returns a ListNameValuePair from a single delimited list
Consultingwerk.NameValuePair GetItem (integer) Retrieves an item from the generic List
CHARACTER GetValueByName (character) Returns the value for the given Name
CHARACTER GetValueByPair (character) Returns the value for the given Name
LOGICAL IsEmpty () Returns if the List is empty
Consultingwerk.NameValuePair Replace (NameValuePair, NameValuePair) Replaces an item in the generic List
Consultingwerk.NameValuePair ToArray () Returns an Array with the elements of the List


Method Detail
Top

Consultingwerk.NameValuePair Add (character, character)

Purpose: Adds a NameValuePair to the List
Notes:

Parameters:
pcName CHARACTER
The Name value
pcValue CHARACTER
The value
Returns Consultingwerk.NameValuePair
The new NameValuePair added to the List
Top

Consultingwerk.NameValuePair Add (NameValuePair)

Purpose: Adds an item to the generic List
Notes:

Parameters:
poItem Consultingwerk.NameValuePair
And item of the Lists member type
Returns Consultingwerk.NameValuePair
The new Item added to the List
Top

Add (NameValuePair[])

Purpose: Adds an array of items to the generic List
Notes:

Parameters:
poItem Consultingwerk.NameValuePair
An array of items of the Lists member type
Top

Consultingwerk.NameValuePair AddWhenNotContained (NameValuePair)

Purpose: Adds an item to the generic List only when it is not
yet contained - silently ignores keys that are already
contained
Notes:

Parameters:
poItem Consultingwerk.NameValuePair
And item of the Lists member type
Returns Consultingwerk.NameValuePair
The new Item added to the List
Top

LOGICAL ContainsName (character)

Purpose: Returns if the ListNameValuePair contains a pair this the given Name
Notes:

Parameters:
pcName CHARACTER
The Name value to search
Returns LOGICAL
True, when the ListNameValuePair contains a pair this the given Name
Top

Consultingwerk.NameValuePair FindByName (character)

Purpose: Finds a NameValuePair by it's Name
Notes: Performs a FIND-FIRST, does not verify if there is a second pair
with the same name

Parameters:
pcName CHARACTER
The Name value to search
Returns Consultingwerk.NameValuePair
The matching NameValuePair or ? when no Pair has been found
Top

Consultingwerk.ListNameValuePair FromCharacterList (CharacterList)

Purpose: Returns a ListNameValuePair from a single delimited list
Notes: name1,name2,name3

Parameters:
poList Consultingwerk.Framework.Collections.CharacterList
The CharacterList to convert
Returns Consultingwerk.ListNameValuePair
The new ListNameValuePair
Top

Consultingwerk.ListNameValuePair FromSingleDelimitedList (character)

Purpose: Returns a ListNameValuePair from a single delimited list
Notes: name1,name2,name3

Parameters:
pcList CHARACTER
The simple delimited list
Returns Consultingwerk.ListNameValuePair
The new ListNameValuePair
Top

Consultingwerk.ListNameValuePair FromSingleDelimitedList (character, character)

Purpose: Returns a ListNameValuePair from a single delimited list
Notes: name1,name2,name3

Parameters:
pcList CHARACTER
The simple delimited list
pcDelimiter CHARACTER
The list delimiter
Returns Consultingwerk.ListNameValuePair
The new ListNameValuePair
Top

Consultingwerk.NameValuePair GetItem (integer)

Purpose: Retrieves an item from the generic List
Notes:

Parameters:
piIndex INTEGER
The 1 based index of the item to retrieve
Returns Consultingwerk.NameValuePair
The item of the Lists member type
Top

CHARACTER GetValueByName (character)

Purpose: Returns the value for the given Name
Notes: When the Name is used in the List more than once, the first occurence
is returned

Parameters:
pcName CHARACTER
The Name value to search
Returns CHARACTER
The Value of the Pair with the given Name or ? when no pair was found
Top

CHARACTER GetValueByPair (character)

Purpose: Returns the value for the given Name
Notes: Depricated, use GetValueName instead

Parameters:
pcName CHARACTER
The Name value to search
Returns CHARACTER
The Value of the Pair with the given Name or ? when no pair was found
Top

LOGICAL IsEmpty ()

Purpose: Returns if the List is empty
Notes:

Returns LOGICAL
Logical value indicating if the list if empty
Top

Consultingwerk.NameValuePair Replace (NameValuePair, NameValuePair)

Purpose: Replaces an item in the generic List
Notes:

Parameters:
poExistingItem Consultingwerk.NameValuePair
The item to replace
poNewItem Consultingwerk.NameValuePair
The new item
Returns Consultingwerk.NameValuePair
The reference to the replaced item
Top

Consultingwerk.NameValuePair ToArray ()

Purpose: Returns an Array with the elements of the List
Notes:

Returns Consultingwerk.NameValuePair
The array of elements of the Lists member type


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       30.03.2026 11:04:39