ByteQuantifiedSize.FromSpecifiedUnit method
Creates a new instance of the ByteQuantifiedSize class from the specified value in the specified units.
Namespace: Microsoft.Exchange.Data
Assembly: Microsoft.Exchange.Data (in Microsoft.Exchange.Data.dll)
Syntax
'Declaration
Public Shared Function FromSpecifiedUnit ( _
number As ULong, _
specifiedUnit As ByteQuantifiedSize.Quantifier _
) As ByteQuantifiedSize
'Usage
Dim number As ULong
Dim specifiedUnit As ByteQuantifiedSize.Quantifier
Dim returnValue As ByteQuantifiedSize
returnValue = ByteQuantifiedSize.FromSpecifiedUnit(number, _
specifiedUnit)
public static ByteQuantifiedSize FromSpecifiedUnit(
ulong number,
ByteQuantifiedSize.Quantifier specifiedUnit
)
Parameters
number
Type: System.UInt64A value in the specified units.
specifiedUnit
Type: Microsoft.Exchange.Data.ByteQuantifiedSize.QuantifierOne of the ByteQuantifiedSize.Quantifier enumeration values.
Return value
Type: Microsoft.Exchange.Data.ByteQuantifiedSize
A byte-qualified value equivalent to the number contained in the mbValue parameter.