PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 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 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