Sandcastle XML Comments Guide
SetDocumentationIsSubsetOf Method |
Determines whether a set is a subset of a specified collection.
Namespace: XMLCommentsExamples.DocumentationInheritance
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0
Syntax
public bool IsSubsetOf( IEnumerable<int> other )
Public Function IsSubsetOf ( other As IEnumerable(Of Integer) ) As Boolean
public: virtual bool IsSubsetOf( IEnumerable<int>^ other ) sealed
abstract IsSubsetOf : other : IEnumerable<int> -> bool override IsSubsetOf : other : IEnumerable<int> -> bool
Parameters
- other
- Type: System.Collections.GenericIEnumerableInt32
The collection to compare to the current set.
Return Value
Type: Booleantrue if the current set is a subset of other; otherwise, false.
Implements
ISetTIsSubsetOf(IEnumerableT)Exceptions
Exception | Condition |
---|---|
ArgumentNullException | other is null. |
See Also