ByteQuantifiedSize.TryParse Method (String, ByteQuantifiedSize.Quantifier, ByteQuantifiedSize)
Namespace: Microsoft.Exchange.Data
Assembly: Microsoft.Exchange.Data (in Microsoft.Exchange.Data.dll)
Syntax
'Declaration
Public Shared Function TryParse ( _
expression As String, _
defaultUnit As ByteQuantifiedSize.Quantifier, _
<OutAttribute> ByRef byteQuantifiedSize As ByteQuantifiedSize _
) As Boolean
'Usage
Dim expression As String
Dim defaultUnit As ByteQuantifiedSize.Quantifier
Dim byteQuantifiedSize As ByteQuantifiedSize
Dim returnValue As Boolean
returnValue = ByteQuantifiedSize.TryParse(expression, _
defaultUnit, byteQuantifiedSize)
public static bool TryParse(
string expression,
ByteQuantifiedSize.Quantifier defaultUnit,
out ByteQuantifiedSize byteQuantifiedSize
)
Parameters
- expression
Type: System.String
- defaultUnit
Type: Microsoft.Exchange.Data.ByteQuantifiedSize.Quantifier
- byteQuantifiedSize
Type: Microsoft.Exchange.Data.ByteQuantifiedSize
Return Value
Type: System.Boolean
Returns Boolean.