Nevron Open Vision Documentation
Nevron.Nov.Schedule Namespace / NCategoryCollection Class / IndexOf Method / IndexOf(String) Method


In This Topic
    IndexOf(String) Method
    In This Topic
    Finds the index in this collection of the category with the given name. Returns -1 if a category with such name does not exist in the collection.
    Syntax
    'Declaration
     
    
    Public Overloads Function IndexOf( _
       ByVal categoryName As System.String _
    ) As System.Integer
    'Usage
     
    
    Dim instance As NCategoryCollection
    Dim categoryName As System.String
    Dim value As System.Integer
     
    value = instance.IndexOf(categoryName)
    public System.int IndexOf( 
       System.string categoryName
    )

    Parameters

    categoryName
    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