ComponentOne ReportViewer for ASP.NET Web Forms
C1.C1Report.4 Assembly / C1.C1Preview Namespace / RenderObject Class / IndexOfFragment Method
The RenderFragment to return the index of.

In This Topic
    IndexOfFragment Method
    In This Topic
    Returns the index of the specified RenderFragment of the current object in the Fragments collection.
    Syntax
    'Declaration
     
    Public Function IndexOfFragment( _
       ByVal rf As RenderFragment _
    ) As System.Integer
    public System.int IndexOfFragment( 
       RenderFragment rf
    )

    Parameters

    rf
    The RenderFragment to return the index of.

    Return Value

    The 0-based index of the specified fragment in Fragments, or -1 if there are no fragments or the fragment was not found.
    See Also