Class OpenZFSDataCompressionType
Constants used for properties of type OpenZFSDataCompressionType.
public class OpenZFSDataCompressionType : ConstantClass
- Inheritance
-
OpenZFSDataCompressionType
Constructors
OpenZFSDataCompressionType(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 OpenZFSDataCompressionType(string value)
Parameters
value
string
Fields
LZ4
Constant LZ4 for OpenZFSDataCompressionType
public static readonly OpenZFSDataCompressionType LZ4
Field Value
NONE
Constant NONE for OpenZFSDataCompressionType
public static readonly OpenZFSDataCompressionType NONE
Field Value
ZSTD
Constant ZSTD for OpenZFSDataCompressionType
public static readonly OpenZFSDataCompressionType ZSTD
Field Value
Methods
FindValue(string)
Finds the constant for the unique value.
public static OpenZFSDataCompressionType FindValue(string value)
Parameters
value
stringThe unique value for the constant
Returns
- OpenZFSDataCompressionType
The constant for the unique value
Operators
implicit operator OpenZFSDataCompressionType(string)
Utility method to convert strings to the constant class.
public static implicit operator OpenZFSDataCompressionType(string value)
Parameters
value
stringThe string value to convert to the constant class.