Table of Contents

Method TryParse

Namespace
LMKit.Graphics.Geometry
Assembly
LM-Kit.NET.dll

TryParse(string, out Point, IFormatProvider)

Attempts to parse a string into a Point.

public static bool TryParse(string s, out Point result, IFormatProvider provider = null)

Parameters

s string

The input string.

result Point

When this method returns, contains the parsed Point if the operation succeeded.

provider IFormatProvider

An optional format provider for culture-specific parsing. If null, the current culture is used.

Returns

bool

true if parsing succeeded; otherwise, false.