Download MetaTrader 5

IsProperSupersetOf

Determines whether the current set is a proper superset of the specified collection or array.

A version for working with the collection that implements the ICollection<T> interface.

bool IsProperSupersetOf(
   ICollection<T>*  collection     // a collection to determine the relation
   );

A version for working with an array.

bool IsProperSupersetOf(
   T&  array[]                     // an array to determine the relation
   );

Parameters

*collection

[in]  A collection to determine the relation.

&collection[]

[in]  An array to determine the relation.

Return Value

Returns true if the current set is a proper superset, or false otherwise.