Method Add
Add(Object)
Add the System.Object.ToString() representation of o
into the set.
The System.Object.ToString() method is called after setting the thread to System.Globalization.CultureInfo.InvariantCulture.
If the type of o
is a value type, it will be converted using the
System.Globalization.CultureInfo.InvariantCulture.
Declaration
public virtual bool Add(object o)
Parameters
Type | Name | Description |
---|---|---|
System.Object | o | A string-able object |
Returns
Type | Description |
---|---|
System.Boolean |
|
Add(ICharSequence)
Add this ICharSequence into the set
Declaration
public virtual bool Add(ICharSequence text)
Parameters
Type | Name | Description |
---|---|---|
ICharSequence | text |
Returns
Type | Description |
---|---|
System.Boolean |
|
Add(String)
Add this System.String into the set
Declaration
public virtual bool Add(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text |
Returns
Type | Description |
---|---|
System.Boolean |
|
Implements
Add(Char[])
Add this char[] directly to the set.
If ignoreCase
is true for this CharArraySet, the text array will be directly modified.
The user should never modify this text array after calling this method.
Declaration
public virtual bool Add(char[] text)
Parameters
Type | Name | Description |
---|---|---|
System.Char[] | text |
Returns
Type | Description |
---|---|
System.Boolean |
|