Click or drag to resize

PipeStreamCollection Class

The collection of PipeStream objects corresponding to the USB communication pipes of a USB device.
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelReadOnlyCollectionPipeStream
    WinUsbNetPipeStreamCollection

Namespace:  WinUsbNet
Assembly:  WinUsbNet (in WinUsbNet.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public sealed class PipeStreamCollection : ReadOnlyCollection<PipeStream>

The PipeStreamCollection type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of elements contained in the ReadOnlyCollectionT instance.
(Inherited from ReadOnlyCollectionPipeStream.)
Public propertyItem
Gets the element at the specified index.
(Inherited from ReadOnlyCollectionPipeStream.)
Top
Methods
  NameDescription
Public methodContains
Determines whether an element is in the ReadOnlyCollectionT.
(Inherited from ReadOnlyCollectionPipeStream.)
Public methodCopyTo
Copies the entire ReadOnlyCollectionT to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from ReadOnlyCollectionPipeStream.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the ReadOnlyCollectionT.
(Inherited from ReadOnlyCollectionPipeStream.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Searches for the specified object and returns the zero-based index of the first occurrence within the entire ReadOnlyCollectionT.
(Inherited from ReadOnlyCollectionPipeStream.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
When its parent UsbDevice is open, the PipeStreamCollection contains 16 entries, accessible through the Item property with indices in the range 0 - 15. The index for an entry is the same as the USB endpoint number for the corresponding USB pipe. If the USB device has no endpoint for a given index, then that entry in the collection is null. Otherwise, the entry contains a PipeStream.
See Also