GemBox.Document
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    TableRowCollection Class

    Namespace:
    GemBox.Document.Tables
    Assembly:
    GemBox.Document.dll

    Represents a collection of TableRows.

    • C#
    • VB.NET
    public sealed class TableRowCollection : ElementCollection<TableRow>, IList, ICollection, IList<TableRow>, ICollection<TableRow>, IEnumerable<TableRow>, IEnumerable
    Public NotInheritable Class TableRowCollection
        Inherits ElementCollection(Of TableRow)
        Implements IList, ICollection, IList(Of TableRow), ICollection(Of TableRow), IEnumerable(Of TableRow), IEnumerable
    Inheritance:
    System.Object
    ElementCollection
    ElementCollection<TableRow>
    TableRowCollection
    Implements
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.Generic.IList<TableRow>
    System.Collections.Generic.ICollection<TableRow>
    System.Collections.Generic.IEnumerable<TableRow>
    System.Collections.IEnumerable
    Remarks

    Used as a container for a Rows property.

    Methods

    Remove(TableRow)

    Removes the first occurrence of a specific TableRow from the TableRowCollection.

    • C#
    • VB.NET
    public bool Remove(TableRow row)
    Public Function Remove(row As TableRow) As Boolean
    Parameters
    row
    TableRow

    The TableRow from the TableRowCollection.

    Returns
    System.Boolean

    true if row is successfully removed; otherwise, false. This method also returns false if row was not found in the TableRowCollection.

    RemoveAt(Int32)

    Removes the TableRow at the specified index of the TableRowCollection.

    • C#
    • VB.NET
    public void RemoveAt(int index)
    Public Sub RemoveAt(index As Integer)
    Parameters
    index
    System.Int32

    The zero-based index of the TableRow to remove.

    Inherited Properties

    Content

    Gets the content of the current ElementCollection.

    (Inherited from ElementCollection)

    SupportedElementTypes

    Gets a sequence of ElementTypes that can be contained in this collection.

    (Inherited from ElementCollection)

    Inherited Methods

    CopyTo(Element[], System.Int32)

    Copies the elements of the ElementCollection to an System.Array, starting at a particular System.Array index.

    (Inherited from ElementCollection)

    IndexOf(Element)

    Determines the index of a specific Element in the ElementCollection.

    (Inherited from ElementCollection)

    Implements

    System.Collections.IList
    System.Collections.ICollection
    System.Collections.Generic.IList<T>
    System.Collections.Generic.ICollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.