ByteQuantifiedSize.Parse method (String, ByteQuantifiedSize.Quantifier)
Converts the string representation of a byte-qualified value to its numeric equivalent in the specified units.
Namespace: Microsoft.Exchange.Data
Assembly: Microsoft.Exchange.Data (in Microsoft.Exchange.Data.dll)
Syntax
'Declaration
Public Shared Function Parse ( _
expression As String, _
defaultUnit As ByteQuantifiedSize.Quantifier _
) As ByteQuantifiedSize
'Usage
Dim expression As String
Dim defaultUnit As ByteQuantifiedSize.Quantifier
Dim returnValue As ByteQuantifiedSize
returnValue = ByteQuantifiedSize.Parse(expression, _
defaultUnit)
public static ByteQuantifiedSize Parse(
string expression,
ByteQuantifiedSize.Quantifier defaultUnit
)
Parameters
expression
Type: System.StringA string containing a number to convert.
defaultUnit
Type: Microsoft.Exchange.Data.ByteQuantifiedSize.QuantifierOne of the ByteQuantifiedSize.Quantifier enumeration values.
Return value
Type: Microsoft.Exchange.Data.ByteQuantifiedSize
A byte-qualified equivalent to the number contained in the expression parameter.