Version

CanConvertColorFromString Method

Determines whether the provided string can be converted to a color.
Syntax
'Declaration
 
Public Shared Function CanConvertColorFromString( _
   ByVal text As String _
) As Boolean
public static bool CanConvertColorFromString( 
   string text
)

Parameters

text
The string to try to parse.

Return Value

True if the string can be converted into a System.Drawing.Color.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also