Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Member group

Parse

Declaring type: UInt16
Module: System
Assembly: System.Runtime.dll
Source file: UInt16.rvn

Overloads / Variants

Parse

static func Parse(text: string, culture: Culture) -> Result<ushort, NumberParseError>

Source file: UInt16.rvn

Parses explicit culture punctuation with strict three-digit grouping; whitespace is not accepted.

Parameters

Name Type Description
text String
culture Culture

Return value

Result<UInt16, NumberParseError>

Parse

static func Parse(value: string) -> Result<ushort, NumberParseError>

Source file: UInt16.rvn

Parses the complete text using the strict, culture-independent grammar.

Parameters

Name Type Description
value String

Return value

Result<UInt16, NumberParseError>