Collections > Collections Assembly Classes > StringMap
The StringMap class implements an object that is a map of character strings.
In the map of strings, each element has corresponding unique character key. A map of strings is sorted automatically when new elements are added. The map is sorted by key values in ascending order. Work with element is executed by key. To get key by index of element, use the Key property.
Property name | Brief description | |
![]() |
Item | The Item property determines element value. |
![]() |
Key | The Key property returns the element key by its index. |
![]() |
Keys | The Keys property returns collection of string map keys. |
![]() |
Values | The Values property returns the collection of string map values. |
Property name | Brief description | |
![]() |
Count | The Count property returns the number of array elements. |
Method name | Brief description | |
![]() |
Add | The Add method adds elements into the map of character strings. |
![]() |
Clear | The Clear method clears the map of character strings. |
![]() |
Clone | The Clone method creates a copy of map of character strings. |
![]() |
ContainsKey | The ContainsKey method checks if an element by the key exists. |
![]() |
Remove | The Remove method removes an element by its key. |
Method name | Brief description | |
![]() |
CopyTo | The CopyTo method copies the collection into an array. |
See also: