Click or drag to resize

RowCollection Class

Represents a collection of TableRow objects.
Inheritance Hierarchy

Namespace: Spire.Doc.Collections
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public class RowCollection : DocumentObjectCollection

The RowCollection type exposes the following members.

Constructors
Name Description
Public method RowCollection
Initializes a new instance of the RowCollection class.
Top
Properties
Name Description
Public property Count
Gets the number of items in the collection.
(Inherited from CollectionEx .)
Public property Document
Gets the document.
(Inherited from OwnerHolder .)
Public property FirstItem
Gets the first item.
(Inherited from DocumentObjectCollection .)
Public property Item
Gets the TableRow at the specified index.
Public property LastItem
Gets the last item.
(Inherited from DocumentObjectCollection .)
Protected property TypesOfElement
Gets the types of elements associated with the current instance.
(Overrides DocumentObjectCollection TypesOfElement .)
Top
Methods
Name Description
Public method Add(IDocumentObject)
Adds the specified entity.
(Inherited from DocumentObjectCollection .)
Public method Add(TableRow)
Adds a TableRow to the collection and notifies any listeners of the change.
Public method Clear
Removes all items
(Inherited from DocumentObjectCollection .)
Public method Contains
Determines whether a entity is in the collection.
(Inherited from DocumentObjectCollection .)
Protected method CreateItem (Overrides DocumentSerializableCollection CreateItem(IXDLSContentReader) .)
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from CollectionEx .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Protected method GetTagItemName (Overrides DocumentSerializableCollection GetTagItemName .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Public method IndexOf(IDocumentObject)
Returns the zero-based index of the specified entity.
(Inherited from DocumentObjectCollection .)
Public method IndexOf(TableRow)
Retrieves the index of the specified TableRow within the collection.
Public method Insert(Int32, IDocumentObject)
Inserts a entity into the collection at the specified index.
(Inherited from DocumentObjectCollection .)
Public method Insert(Int32, TableRow)
Inserts a TableRow into the collection at the specified index.
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Protected method OnClear (Inherited from DocumentObjectCollection .)
Protected method OnInsert (Inherited from DocumentObjectCollection .)
Protected method OnInsertComplete (Inherited from DocumentObjectCollection .)
Protected method OnRemove(Int32) (Inherited from DocumentObjectCollection .)
Protected method OnRemove(DocumentObject) (Inherited from DocumentObjectCollection .)
Public method Remove(IDocumentObject)
Removes the document object from the collection.
(Inherited from DocumentObjectCollection .)
Public method Remove(TableRow)
Removes a TableRow from the collection.
Public method RemoveAt
Removes the document object at the specified index from the collection.
(Inherited from DocumentObjectCollection .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
Fields
Name Description
Protected field m_doc (Inherited from OwnerHolder .)
Top
See Also