IsProperSupersetOf
IsProperSupersetOf
确定当前已排序集合是否为指定集合或数组的适当超集合。
这个版本处理了实施 ICollection
bool IsProperSupersetOf(
ICollection<T>* collection // 确定关系的集合
);处理数组的版本。
bool IsProperSupersetOf(
T& array[] // 确定关系的数组
);参数
- *collection
[in] 确定关系的集合。
- &collection[]
[in] 确定关系的数组。
返回值
如果当前已排序集为适当超集合,则返回true,否则返回false。