Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Preview Namespace / SystemTagCollection Class / IndexOfName Method
The name of the item to locate.

In This Topic
    IndexOfName Method (SystemTagCollection)
    In This Topic
    Returns the 0-based index of a NamedCollectionItem with specified name in the current NamedCollection.
    Syntax
    'Declaration
     
    Public Function IndexOfName( _
       ByVal name As String _
    ) As Integer
    public int IndexOfName( 
       string name
    )

    Parameters

    name
    The name of the item to locate.

    Return Value

    The 0-based index of the specified item, or -1 if the item was not found.
    See Also