Click or drag to resize
BagTIsSubsetOf Method
Determines if this bag is a subset of another ba11 items in this bag.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public bool IsSubsetOf(
	Bag<T> otherBag
)

Parameters

otherBag
Type: X3Platform.CollectionsBagT
Bag to compare to.

Return Value

Type: Boolean
True if this is a subset of otherBag.
Exceptions
ExceptionCondition
InvalidOperationExceptionThis bag and otherBag don't use the same method for comparing items.
See Also