PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / Dictionary Class / IndexOfName Method
The name of the item to locate.

In This Topic
    IndexOfName Method (Dictionary)
    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