Method TryParse
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
sstringThe input string.
resultPointWhen this method returns, contains the parsed Point if the operation succeeded.
providerIFormatProviderAn optional format provider for culture-specific parsing. If null, the current culture is used.