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