System::Drawing::Color::get_IsNamedColor method

Color::get_IsNamedColor 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

ReturnValue

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

See Also