[SerializableAttribute]
[TypeConverterAttribute(typeof(IecBinarySizeConverter))]
public readonly struct IecBinarySize : IFormattable,
IXmlSerializable, ISpanFormattable, ISpanParsable<IecBinarySize>, IParsable<IecBinarySize>
<SerializableAttribute>
<TypeConverterAttribute(GetType(IecBinarySizeConverter))>
Public Structure IecBinarySize
Implements IFormattable, IXmlSerializable, ISpanFormattable, ISpanParsable(Of IecBinarySize),
IParsable(Of IecBinarySize)
[SerializableAttribute]
[TypeConverterAttribute(typeof(IecBinarySizeConverter))]
public value class IecBinarySize : IFormattable,
IXmlSerializable, ISpanFormattable, ISpanParsable<IecBinarySize>, IParsable<IecBinarySize>
[<SealedAttribute>]
[<SerializableAttribute>]
[<TypeConverterAttribute(typeof(IecBinarySizeConverter))>]
type IecBinarySize =
struct
inherit ValueType
interface IFormattable
interface IXmlSerializable
interface ISpanFormattable
interface ISpanParsable<IecBinarySize>
interface IParsable<IecBinarySize>
end
Use this type if you need the parsing behavior to be different, and cannot pass a custom BinarySizeOptions value. For example, when the value is part of a serialized data type.
This structure only provides parsing and formatting functionality. For all other functions of the BinarySize structure, access the Value property.
IecBinarySize(BinarySize) | Initializes a new instance of the IecBinarySize structure. |
IecBinarySize(Int64) | Initializes a new instance of the IecBinarySize structure. |
Value | Gets the BinarySize value that is wrapped by this instance. |
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) |
Parse(ReadOnlySpanChar, IFormatProvider) | Parses a span of characters into an IecBinarySize structure. |
Parse(String, IFormatProvider) | Parses a string into an IecBinarySize structure. |
ToString |
Returns a string representation of the current value, using default formatting.
(Overrides ValueTypeToString) |
ToString(String, IFormatProvider) | Formats the value of the current BinarySize instance using the specified format. |
TryFormat | Tries to format the value of the current instance into the provided span of characters. |
TryParse(ReadOnlySpanChar, IFormatProvider, IecBinarySize) | Tries to parse a span of characters into an IecBinarySize structure. |
TryParse(String, IFormatProvider, IecBinarySize) | Tries to parse a string into an IecBinarySize structure. |
(IecBinarySize to Int64) | Performs an explicit conversion from IecBinarySize to Int64. |
(Int64 to IecBinarySize) | Performs an explicit conversion from Int64 to IecBinarySize. |
(BinarySize to IecBinarySize) | Performs an implicit conversion from BinarySize to IecBinarySize. |
(IecBinarySize to BinarySize) | Performs an implicit conversion from IecBinarySize to BinarySize. |