Method Contains
Contains(Char[], Int32, Int32)
true
if the length
chars of text
starting at offset
are in the set
Declaration
public virtual bool Contains(char[] text, int offset, int length)
Parameters
Type |
Name |
Description |
System.Char[] |
text |
|
System.Int32 |
offset |
|
System.Int32 |
length |
|
Returns
Type |
Description |
System.Boolean |
|
Contains(Char[])
true
if the char[]s
are in the set
Declaration
public virtual bool Contains(char[] text)
Parameters
Type |
Name |
Description |
System.Char[] |
text |
|
Returns
Type |
Description |
System.Boolean |
|
Contains(ICharSequence)
Declaration
public virtual bool Contains(ICharSequence cs)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Contains(String)
true
if the System.String is in the set
Declaration
public virtual bool Contains(string cs)
Parameters
Type |
Name |
Description |
System.String |
cs |
|
Returns
Type |
Description |
System.Boolean |
|
Implements
System.Collections.Generic.ICollection<T>.Contains(T)
Contains(Object)
true
if the System.Object.ToString() representation of o
is in the set
Declaration
public virtual bool Contains(object o)
Parameters
Type |
Name |
Description |
System.Object |
o |
|
Returns
Type |
Description |
System.Boolean |
|