StringConverterTryParse(String, UInt16, CultureInfo) Method
Tries to convert the specified string to its System.UInt16 (unsigned short) equivalent.
Namespace: Common.Core.ConvertersAssembly: Common.Core (in Common.Core.dll) Version: 2.1.5
public static bool TryParse(
ref string value,
out ushort result,
CultureInfo? culture = null
)
- value String
- A string containing the value to convert.
- result UInt16
- If the conversion succeeded, contains the value.
- culture CultureInfo (Optional)
- An object that provides culture-specific formatting information.
Boolean if value was converted successfully.