PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.8 Assembly / C1.C1Preview.DataBinding Namespace / QueryParameterCollection Class / IndexOfName Method
The name of the item to locate.

In This Topic
    IndexOfName Method (QueryParameterCollection)
    In This Topic
    Returns the 0-based index of a C1.C1Preview.NamedCollectionItem with specified name in the current C1.C1Preview.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