ByteQuantifiedSize methods
The ByteQuantifiedSize type exposes the following members.
Methods
Name | Description | |
---|---|---|
CompareTo | Compares this instance to another ByteQuantifiedSize object and returns an indication of their relative values. | |
Equals(Object) | Returns a value indicating whether this instance is equal to a specified object. (Overrides ValueType.Equals(Object).) | |
Equals(ByteQuantifiedSize) | Returns a value that indicates whether this instance is equal to another ByteQuantifiedSize object. | |
FromBytes | Creates a new instance of the ByteQuantifiedSize class from the specified value in bytes. | |
FromGB | Creates a new instance of the ByteQuantifiedSize class from the specified value in gigabytes. | |
FromKB | Creates a new instance of the ByteQuantifiedSize class from the specified value in kilobytes. | |
FromMB | Creates a new instance of the ByteQuantifiedSize class from the specified value in megabytes. | |
FromSpecifiedUnit | Creates a new instance of the ByteQuantifiedSize class from the specified value in the specified units. | |
FromTB | Creates a new instance of the ByteQuantifiedSize class from the specified value in terabytes. | |
GetHashCode | Returns the hash code for this instance. (Overrides ValueType.GetHashCode().) | |
Parse(String) | Converts the string representation of a byte-qualified value to its numeric equivalent. | |
Parse(String, ByteQuantifiedSize.Quantifier) | Converts the string representation of a byte-qualified value to its numeric equivalent in the specified units. | |
RoundUpToUnit | Rounds up the specified ByteQuantifiedSize instance to the lowest value in the specified quantity. | |
ToBytes | Converts this value to bytes. | |
ToGB | Converts this value to gigabytes (GB). | |
ToKB | Converts this value to kilobytes (KB). | |
ToMB | Converts this value to megabytes (MB). | |
ToString() | Converts the numeric value of this instance to its equivalent string representation. (Overrides ValueType.ToString().) | |
ToString(String) | Converts the numeric value of this instance to its equivalent string representation, using the specified format. | |
ToString(String, IFormatProvider) | Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information. | |
ToTB | Converts this value to terabytes (TB). | |
TryParse(String, ByteQuantifiedSize) | Converts the string representation of a number into its byte-quantified size equivalent. A return value indicates whether the conversion succeeded or failed. | |
TryParse(String, ByteQuantifiedSize.Quantifier, ByteQuantifiedSize) | Converts the string representation of a number with a specified unit into its byte-quantified size equivalent. A return value indicates whether the conversion succeeded or failed. |
Top