Set DocumentationIs Superset Of Method
Determines whether the current set is a superset of a specified collection.
Definition
Namespace: XMLCommentsExamples.DocumentationInheritance
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2025.4.26.0
if the current set is a superset of other; otherwise, .
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2025.4.26.0
C#
public bool IsSupersetOf(
IEnumerable<int> other
)VB
Public Function IsSupersetOf (
other As IEnumerable(Of Integer)
) As BooleanC++
public:
virtual bool IsSupersetOf(
IEnumerable<int>^ other
) sealedF#
abstract IsSupersetOf :
other : IEnumerable<int> -> bool
override IsSupersetOf :
other : IEnumerable<int> -> bool Parameters
- other IEnumerableInt32
- The collection to compare to the current set.
Return Value
Booleanif the current set is a superset of other; otherwise, .
Implements
ISetTIsSupersetOf(IEnumerableT)Exceptions
| ArgumentNullException | other is . |