Nevron Open Vision Documentation
Nevron.Nov.Diagram.Themes Namespace / NVariantColorPalette Class / IndexOf Method


In This Topic
    IndexOf Method (NVariantColorPalette)
    In This Topic
    Returns the index of the given color in this collection or -1 if such color is not found.
    Syntax
    'Declaration
     
    
    Public Function IndexOf( _
       ByVal color As NColor _
    ) As System.Integer
    'Usage
     
    
    Dim instance As NVariantColorPalette
    Dim color As NColor
    Dim value As System.Integer
     
    value = instance.IndexOf(color)
    public System.int IndexOf( 
       NColor color
    )

    Parameters

    color
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also