Class StorageType
Constants used for properties of type StorageType.
public class StorageType : ConstantClass
- Inheritance
-
StorageType
Constructors
StorageType(string)
This constant constructor does not need to be called if the constant you are attempting to use is already defined as a static instance of this class. This constructor should be used to construct constants that are not defined as statics, for instance if attempting to use a feature that is newer than the current version of the SDK.
public StorageType(string value)
Parameters
value
string
Fields
HDD
Constant HDD for StorageType
public static readonly StorageType HDD
Field Value
SSD
Constant SSD for StorageType
public static readonly StorageType SSD
Field Value
Methods
FindValue(string)
Finds the constant for the unique value.
public static StorageType FindValue(string value)
Parameters
value
stringThe unique value for the constant
Returns
- StorageType
The constant for the unique value
Operators
implicit operator StorageType(string)
Utility method to convert strings to the constant class.
public static implicit operator StorageType(string value)
Parameters
value
stringThe string value to convert to the constant class.