Version

Contains Method (WorkbookColorPalette)

Determines whether the specified color is in the color palette.
Syntax
'Declaration
 
Public Function Contains( _
   ByVal color As Color _
) As Boolean
public bool Contains( 
   Color color
)

Parameters

color
The color to find in the palette.

Return Value

Determines whether an equivalent color is in the palette.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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