Struct to represent the size of some data using any datasize units (such as Bytes, KB, MB, GB).
Namespace: IMailAPI_NET
Assembly: IMailAPI_NET (in IMailAPI_NET.dll) Version: 1.0.0.0
Syntax
The UtilityDataSize type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | UtilityDataSize | Initializes a new instance of the UtilityDataSize class |
Methods
Name | Description | |
---|---|---|
![]() | ConvertTo |
Convert a DataSize into its equivilant in some other data size units.
|
![]() | 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.) |
![]() | ToBytes |
Convert a DataSize into its equivilant in bytes.
|
![]() ![]() | ToBytes(UInt64, UtilityDataSizeDataUnit) |
Convert a DataSize into its equivilant in bytes.
|
![]() | ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
![]() ![]() | UpConvert(UInt64) |
Convert the DataSize up to the highest unit that will result in a whole number value.
|
![]() ![]() | UpConvert(UInt64, UtilityDataSizeDataUnit) |
Convert the DataSize up to the highest unit that will result in a whole number value.
|
Fields
Name | Description | |
---|---|---|
![]() | Unit | |
![]() | Value |
See Also