Method ContainsAll
ContainsAll(IEnumerable<String>)
Returns true
if this collection contains all of the elements
in the specified collection.
Declaration
public virtual bool ContainsAll(IEnumerable<string> other)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.String> | other | collection to be checked for containment in this collection |
Returns
Type | Description |
---|---|
System.Boolean |
|
ContainsAll<T>(IEnumerable<T>)
Returns true
if this collection contains all of the elements
in the specified collection.
Declaration
public virtual bool ContainsAll<T>(IEnumerable<T> other)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<T> | other | collection to be checked for containment in this collection |
Returns
Type | Description |
---|---|
System.Boolean |
|
Type Parameters
Name | Description |
---|---|
T |