Header menu logo FSharp.Data

StringExtensions Type

Extension methods with conversions from strings to other types

Static members

Static member Description

StringExtensions.AsBoolean(x)

Full Usage: StringExtensions.AsBoolean(x)

Parameters:
Returns: bool
x : String
Returns: bool

StringExtensions.AsDateTime(x, ?cultureInfo)

Full Usage: StringExtensions.AsDateTime(x, ?cultureInfo)

Parameters:
Returns: DateTime
x : String
?cultureInfo : CultureInfo
Returns: DateTime

StringExtensions.AsDateTimeOffset(x, ?cultureInfo)

Full Usage: StringExtensions.AsDateTimeOffset(x, ?cultureInfo)

Parameters:
Returns: DateTimeOffset
x : string
?cultureInfo : CultureInfo
Returns: DateTimeOffset

StringExtensions.AsDecimal(x, ?cultureInfo)

Full Usage: StringExtensions.AsDecimal(x, ?cultureInfo)

Parameters:
Returns: decimal
x : String
?cultureInfo : CultureInfo
Returns: decimal

StringExtensions.AsFloat(x, ?cultureInfo, ?missingValues)

Full Usage: StringExtensions.AsFloat(x, ?cultureInfo, ?missingValues)

Parameters:
Returns: float
x : String
?cultureInfo : CultureInfo
?missingValues : string[]
Returns: float

StringExtensions.AsGuid(x)

Full Usage: StringExtensions.AsGuid(x)

Parameters:
Returns: Guid
x : String
Returns: Guid

StringExtensions.AsInteger(x, ?cultureInfo)

Full Usage: StringExtensions.AsInteger(x, ?cultureInfo)

Parameters:
Returns: int
x : String
?cultureInfo : CultureInfo
Returns: int

StringExtensions.AsInteger64(x, ?cultureInfo)

Full Usage: StringExtensions.AsInteger64(x, ?cultureInfo)

Parameters:
Returns: int64
x : String
?cultureInfo : CultureInfo
Returns: int64

StringExtensions.AsTimeSpan(x, ?cultureInfo)

Full Usage: StringExtensions.AsTimeSpan(x, ?cultureInfo)

Parameters:
Returns: TimeSpan
x : String
?cultureInfo : CultureInfo
Returns: TimeSpan

Type something to start searching.