PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview Namespace / RenderObjectCollection Class / IndexOfName Method
The name to search for.

In This Topic
    IndexOfName Method (RenderObjectCollection)
    In This Topic
    Searches the current collection for an object with the specified RenderObject.Name.
    Syntax
    'Declaration
     
    Public Function IndexOfName( _
       ByVal name As String _
    ) As Integer
    public int IndexOfName( 
       string name
    )

    Parameters

    name
    The name to search for.

    Return Value

    Index of the object in the current collection, or -1 if no object was found.
    See Also