Method Put
Put(ICharSequence, TValue)
Declaration
public virtual TValue Put(ICharSequence text, TValue value)
Parameters
Returns
Put(Object, TValue)
Add the given mapping using the System.Object.ToString() representation
of o
in the System.Globalization.CultureInfo.InvariantCulture.
Declaration
public virtual TValue Put(object o, TValue value)
Parameters
Type |
Name |
Description |
System.Object |
o |
|
TValue |
value |
|
Returns
Put(String, TValue)
Declaration
public virtual TValue Put(string text, TValue value)
Parameters
Type |
Name |
Description |
System.String |
text |
|
TValue |
value |
|
Returns
Put(Char[], TValue)
Add the given mapping.
If ignoreCase is true for this Set, the text array will be directly modified.
The user should never modify this text array after calling this method.
Declaration
public virtual TValue Put(char[] text, TValue value)
Parameters
Type |
Name |
Description |
System.Char[] |
text |
|
TValue |
value |
|
Returns
Put(Char[])
Adds a placeholder with the given text
as the key.
Primarily for internal use by CharArraySet.
Declaration
public virtual bool Put(char[] text)
Parameters
Type |
Name |
Description |
System.Char[] |
text |
|
Returns
Type |
Description |
System.Boolean |
|
Put(ICharSequence)
Adds a placeholder with the given text
as the key.
Primarily for internal use by CharArraySet.
Declaration
public virtual bool Put(ICharSequence text)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Put(String)
Adds a placeholder with the given text
as the key.
Primarily for internal use by CharArraySet.
Declaration
public virtual bool Put(string text)
Parameters
Type |
Name |
Description |
System.String |
text |
|
Returns
Type |
Description |
System.Boolean |
|
Put(Object)
Adds a placeholder with the given o
as the key.
Primarily for internal use by CharArraySet.
Declaration
public virtual bool Put(object o)
Parameters
Type |
Name |
Description |
System.Object |
o |
|
Returns
Type |
Description |
System.Boolean |
|