StringDictionary
<
any
>
A dictionary of objects referenced by a string key
Class
CompareDelegate
A type that represents a reference to a method with a parameter list and return type
CompareFieldDelegate
A type that represents a reference to a method with a parameter list and return type
FindDelegate
A type that represents a reference to a method with a parameter list and return type
KeyValue
Key-value pair
Method
public
StringDictionary
.
Constructor
(
int
capacity
)
public
bool
StringDictionary
.
Add
(
value
,
string
key
)
Add an element to the dictionary, if the key is not already present
public
void
StringDictionary
.
Clear
Remove all elements
public
virtual
int
object
.
Compare
(
value
)
Compares this object with another and returns (-1, 0, or 1)
public
bool
StringDictionary
.
Contains
(
string
key
)
Returns true if the key is contained in the dictionary
public
[]
StringDictionary
.
FindTokens
(
value
,
default
)
Convert value into an array of values by matching the text of each key. Longer keys have higher
precedence.
public
Attribute
StringDictionary
.
GetEachType
Get the iterated type
public
virtual
Icon
object
.
GetIcon
Return a icon for this object
public
virtual
object
.
GetLayoutBlock
Return a layout inside a block
public
virtual
object
.
GetLayoutSpan
Return a layout inside a span
public
virtual
object
.
GetLayoutTip
Return a layout for the hint popup
public
virtual
object
.
GetSourceReference
Return a source reference for this object
public
virtual
void
object
.
GetTexSource
(
source
)
LaTeX source code for this object
public
StringDictionary
.
GetValue
(
string
key
)
Return the item in a dictionary that has the specified key (or null)
public
string
[]
StringDictionary
.
KeyArray
Copy the current keys into an array
public
bool
StringDictionary
.
Remove
(
string
key
)
Remove an element
public
bool
StringDictionary
.
Replace
(
value
,
string
key
)
Replace an element
public
[]
StringDictionary
.
ToArray
Returns the current values to an array
public
[]
StringDictionary
.
ToSortedArray
(
bool
descending
=
false
,
delegate
int
CompareDelegate
(
v1
,
v2
)
comparedelegate
=
null
)
Returns a new array in sorted order
public
[]
StringDictionary
.
ToSortedArrayField
(
bool
descending
,
delegate
CompareFieldDelegate
(
value
)
comparedelegatefield
)
Returns a new array in sorted order
public
[]
StringDictionary
.
ValueArray
Copy of the current values into an array