Determines whether an element is in the collection.

Namespace:  Bespoke.Robotics.BrainStem
Assembly:  Bespoke.Robotics.BrainStem (in Bespoke.Robotics.BrainStem.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public bool Contains(
	Packet packet
)
Visual Basic (Declaration)
Public Function Contains ( _
	packet As Packet _
) As Boolean
Visual C++
public:
bool Contains(
	Packet^ packet
)

Parameters

packet
Type: Bespoke.Robotics.BrainStem..::.Packet
The Packet to locate in the collection.

Return Value

true if item is found in the collection; otherwise, false.

See Also