ISensorCollection interface
Represents a collection of sensors, such as all the sensors connected to a computer.
Retrieve a pointer to ISensorCollection by calling methods of the ISensorManager interface. In addition to the methods inherited from IUnknown, the ISensorCollection interface exposes the following methods.
Members
The ISensorCollection interface inherits from the IUnknown interface but does not have additional members.
| Method | Description |
|---|---|
| Add | Adds a sensor to the collection. |
| Clear | Empties the sensor collection. |
| GetAt | Retrieves the sensor at the specified index in the collection. |
| GetCount | Retrieves the count of sensors in the collection. |
| Remove | Removes a sensor from the collection. The sensor is specified by a pointer to the ISensor interface to be removed. |
| RemoveByID | Removes a sensor from the collection. The sensor to be removed is specified by its ID. |
Requirements
|
Minimum supported client | Windows 7 [desktop apps only] |
|---|---|
|
Minimum supported server | None supported [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/19/2012