get_IsNamedColor()

Color::get_IsNamedColor() const method

Returns a value that determines whether the Color structure represents a named color or a member of the KnownColor enumeration.

bool System::Drawing::Color::get_IsNamedColor() const

Return Value

True if the Color was created using either the FromName(String) method or the FromKnownColor(KnownColor) method; otherwise, it returns false.

See Also