Click or drag to resize

BinarySize Methods

The BinarySize type exposes the following members.

Methods
  NameDescription
Public methodAdd
Returns a new BinarySize object whose value is the sum of the specified BinarySize object and this instance.
Public methodCompareTo(BinarySize)
Compares this instance to a specified BinarySize and returns an indication of their relative values.
Public methodCompareTo(Object)
Compares this instance to a specified object and returns an indication of their relative values.
Public methodDivide
Returns a new BinarySize object whose value is the division of the specified Int64 object and this instance.
Public methodEquals(BinarySize)
Returns a value indicating whether this instance is equal to a specified BinarySize value.
Public methodEquals(Object)
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ValueTypeEquals(Object).)
Public methodGetHashCode
Returns the hash code for this BinarySize.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMultiply
Returns a new BinarySize object whose value is the product of the specified Int64 object and this instance.
Public methodNegate
Returns a new BinarySize object whose value is the negation of this instance.
Public methodStatic memberParse(String)
Converts the string representation of a byte size into a BinarySize structure.
Public methodStatic memberParse(String, IFormatProvider)
Converts the string representation of a byte size in a specified culture-specific format into a BinarySize structure.
Public methodSubtract
Returns a new BinarySize object whose value is the difference of the specified BinarySize object and this instance.
Public methodToByte
Performs an explicit conversion from BinarySize to Byte.
Public methodToDecimal
Performs an explicit conversion from BinarySize to Decimal.
Public methodToDouble
Performs an explicit conversion from BinarySize to Double.
Public methodToInt16
Performs an explicit conversion from BinarySize to Int16.
Public methodToInt32
Performs an explicit conversion from BinarySize to Int32.
Public methodToInt64
Performs an explicit conversion from BinarySize to Int64.
Public methodToSByte
Performs an explicit conversion from BinarySize to SByte.
Public methodToSingle
Performs an explicit conversion from BinarySize to Single.
Public methodToString
Returns a String that represents this instance.
(Overrides ValueTypeToString.)
Public methodToString(IFormatProvider)
Returns a String that represents this instance.
Public methodToString(String)
Returns a String that represents this instance.
Public methodToString(String, IFormatProvider)
Returns a String that represents this instance.
Public methodToUInt16
Performs an explicit conversion from BinarySize to UInt16.
Public methodToUInt32
Performs an explicit conversion from BinarySize to UInt32.
Public methodToUInt64
Performs an explicit conversion from BinarySize to UInt64.
Top
See Also