StorageDevice Structure |
Namespace: ABB.Robotics.Controllers.FileSystemDomain
public struct StorageDevice
The StorageDevice type exposes the following members.
Name | Description | |
---|---|---|
Enabled |
Specifies whether the device is enabled or not.
| |
Hidden |
Specifies whether the device is configured to be hidden or not.
| |
Name |
Gets the name of the device.
| |
ReadOnly |
Specifies whether the device is read only or not.
| |
Type |
Gets the type of the device.
|
Name | Description | |
---|---|---|
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
GetType | Gets the type of the current instance. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
private void readMyDevices() { FileSystem f = myControllerRef.FileSystem; StorageDeviceCollection col = f.StorageDevices; string txt = string.Empty; foreach (StorageDevice sd in col) { if (sd.Enabled) { txt = txt + string.Format("{0}\n",sd.Name); } } // Do something... }