Determines if this set contains an item equal to item. The set
is not changed.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic override sealed bool Contains(
T item
)
public:
virtual bool Contains(
T item
) override sealed
Parameters
- item
- Type: T
The item to search for.
Return Value
Type:
BooleanTrue if the set contains
item. False if the set does not contain
item.
Implements
ICollectionTContains(T)ICollectionTContains(T)
RemarksSearching the set for an item takes approximately constant time, regardless of the number of items in the set.
See Also