Share via


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

Return value

Type: Microsoft.Exchange.Data.ByteQuantifiedSize
A byte-qualified value equivalent to the number contained in the mbValue parameter.

See also

Reference

ByteQuantifiedSize structure

ByteQuantifiedSize members

Microsoft.Exchange.Data namespace