UtilityDataSize StructureIpswitch.Messaging.Framework
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

public struct DataSize

The UtilityDataSize type exposes the following members.

Constructors

  NameDescription
Public methodUtilityDataSize
Initializes a new instance of the UtilityDataSize class
Top
Methods

  NameDescription
Public methodConvertTo
Convert a DataSize into its equivilant in some other data size units.
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToBytes
Convert a DataSize into its equivilant in bytes.
Public methodStatic memberToBytes(UInt64, UtilityDataSizeDataUnit)
Convert a DataSize into its equivilant in bytes.
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Public methodStatic memberUpConvert(UInt64)
Convert the DataSize up to the highest unit that will result in a whole number value.
Public methodStatic memberUpConvert(UInt64, UtilityDataSizeDataUnit)
Convert the DataSize up to the highest unit that will result in a whole number value.
Top
Fields

  NameDescription
Public fieldUnit
Public fieldValue
Top
See Also

Reference