Click or drag to resize
OrderedSetTIsProperSubsetOf Method
Determines if this set is a proper subset of another set. Neither set is modified. This set is a subset of otherSet if every element in this set is also in otherSet. Additionally, this set must have strictly fewer items than otherSet.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public bool IsProperSubsetOf(
	OrderedSet<T> otherSet
)

Parameters

otherSet
Type: X3Platform.CollectionsOrderedSetT
Set to compare to.

Return Value

Type: Boolean
True if this is a proper subset of otherSet.
Exceptions
ExceptionCondition
InvalidOperationExceptionThis set and otherSet don't use the same method for comparing items.
Remarks
IsSubsetOf is computed in time O(N log M), where M is the size of the otherSet, and N is the size of the this set.
See Also