TryParse(string s) Method
Tries to parse the string into an HtmlColor instance.
Syntax
public
static
HtmlColor? TryParse(string s)
Parameters
- s
- Type: string
The string to parse.
Returns
The instance if parsing was successful; otherwise null (Nothing in Visual Basic).