DeviceCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines an indexed array of DeviceInfo objects.
public class DeviceCollection : System.Collections.ReadOnlyCollectionBase
type DeviceCollection = class
inherit ReadOnlyCollectionBase
interface IEnumerable
Public Class DeviceCollection
Inherits ReadOnlyCollectionBase
- Inheritance
-
DeviceCollection
- Implements
Constructors
DeviceCollection() |
Creates an instance of the DeviceCollection class. |
Properties
Item[Int32] |
Gets the DeviceInfo object specified by index. |
Item[String] |
Gets the DeviceInfo object specified by name. |
Methods
Contains(DeviceInfo) |
Returns a value indicating whether the specified DeviceInfo object is a member of the DeviceCollection class. |
CopyTo(DeviceInfo[], Int32) |
Copies the collection to an array, starting to write at the specified array index. |
IndexOf(DeviceInfo) |
Retrieves the index of the specified DeviceInfo object in the collection. |