ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / PageCollection Class / Remove Method
A Page object to remove.
Example

In This Topic
    Remove Method (PageCollection)
    In This Topic
    Removes the specified Page object from the PageCollection.
    Syntax
    'Declaration
     
    Public Function Remove( _
       ByVal value As Page _
    ) As Boolean
    public bool Remove( 
       Page value
    )

    Parameters

    value
    A Page object to remove.

    Return Value

    A System.Boolean value. true if the Page was successfully removed; otherwise, false.
    Example
    PageCollection collection = new PageCollection();
    Page page = new Page();
    collection.Add(page);
    bool removed = collection.Remove(page);
    See Also