TableRowCollection Class
Definition
Provides standard facilities for creating and managing a type-safe, ordered collection of TableRow objects.
public ref class TableRowCollection sealed : System::Collections::Generic::ICollection<System::Windows::Documents::TableRow ^>, System::Collections::Generic::IEnumerable<System::Windows::Documents::TableRow ^>, System::Collections::Generic::IList<System::Windows::Documents::TableRow ^>, System::Collections::IList
public sealed class TableRowCollection : System.Collections.Generic.ICollection<System.Windows.Documents.TableRow>, System.Collections.Generic.IEnumerable<System.Windows.Documents.TableRow>, System.Collections.Generic.IList<System.Windows.Documents.TableRow>, System.Collections.IList
type TableRowCollection = class
interface IList<TableRow>
interface ICollection<TableRow>
interface seq<TableRow>
interface IEnumerable
interface IList
interface ICollection
Public NotInheritable Class TableRowCollection
Implements ICollection(Of TableRow), IEnumerable(Of TableRow), IList, IList(Of TableRow)
- Inheritance
-
TableRowCollection
- Implements
Remarks
This collection supports standard zero-based indexing.
The Rows property provided by the TableRowGroup class returns a TableRowCollection.
Properties
Capacity |
Gets or sets the pre-allocated collection item capacity for this collection. |
Count |
Gets the number of items currently contained by the collection. |
IsReadOnly |
This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. |
IsSynchronized |
This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. |
Item[Int32] |
Gets the collection item at a specified index. This is an indexed property. |
SyncRoot |
This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. |
Methods
Add(TableRow) |
Appends a specified item to the collection. |
Clear() |
Clears all items from the collection. |
Contains(TableRow) |
Queries for the presence of a specified item in the collection. |
CopyTo(Array, Int32) |
Copies the contents of the collection and inserts them into a specified array starting at a specified index position in the array. |
CopyTo(TableRow[], Int32) |
Copies the contents of the collection and inserts them into a specified TableRow array of starting at a specified index position in the array. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
IndexOf(TableRow) |
Returns the zero-based index of specified collection item. |
Insert(Int32, TableRow) |
Inserts a specified item in the collection at a specified index position. |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
Remove(TableRow) |
Removes a specified item from the collection. |
RemoveAt(Int32) |
Removes an item, specified by index, from the collection. |
RemoveRange(Int32, Int32) |
Removes a range of items, specified by beginning index and count, from the collection. |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
TrimToSize() |
Optimizes memory consumption for the collection by setting the underlying collection Capacity equal to the Count of items currently in the collection. |
Explicit Interface Implementations
IEnumerable.GetEnumerator() |
For a description of this member, see GetEnumerator(). |
IEnumerable<TableRow>.GetEnumerator() |
For a description of this member, see GetEnumerator(). |
IList.Add(Object) |
For a description of this member, see Add(Object). |
IList.Clear() |
For a description of this member, see Clear(). |
IList.Contains(Object) |
For a description of this member, see Contains(Object). |
IList.IndexOf(Object) |
For a description of this member, see IndexOf(Object). |
IList.Insert(Int32, Object) |
For a description of this member, see Insert(Int32, Object). |
IList.IsFixedSize |
For a description of this member, see IsFixedSize. |
IList.IsReadOnly |
For a description of this member, see IsReadOnly. |
IList.Item[Int32] |
For a description of this member, see Item[Int32]. |
IList.Remove(Object) |
For a description of this member, see Remove(Object). |
IList.RemoveAt(Int32) |
For a description of this member, see RemoveAt(Int32). |
Extension Methods
CopyToDataTable<T>(IEnumerable<T>) |
Returns a DataTable that contains copies of the DataRow objects, given an input IEnumerable<T> object where the generic parameter |
CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption) |
Copies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter |
CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler) |
Copies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter |
Cast<TResult>(IEnumerable) |
Casts the elements of an IEnumerable to the specified type. |
OfType<TResult>(IEnumerable) |
Filters the elements of an IEnumerable based on a specified type. |
AsParallel(IEnumerable) |
Enables parallelization of a query. |
AsQueryable(IEnumerable) |
Converts an IEnumerable to an IQueryable. |
Ancestors<T>(IEnumerable<T>) |
Returns a collection of elements that contains the ancestors of every node in the source collection. |
Ancestors<T>(IEnumerable<T>, XName) |
Returns a filtered collection of elements that contains the ancestors of every node in the source collection. Only elements that have a matching XName are included in the collection. |
DescendantNodes<T>(IEnumerable<T>) |
Returns a collection of the descendant nodes of every document and element in the source collection. |
Descendants<T>(IEnumerable<T>) |
Returns a collection of elements that contains the descendant elements of every element and document in the source collection. |
Descendants<T>(IEnumerable<T>, XName) |
Returns a filtered collection of elements that contains the descendant elements of every element and document in the source collection. Only elements that have a matching XName are included in the collection. |
Elements<T>(IEnumerable<T>) |
Returns a collection of the child elements of every element and document in the source collection. |
Elements<T>(IEnumerable<T>, XName) |
Returns a filtered collection of the child elements of every element and document in the source collection. Only elements that have a matching XName are included in the collection. |
InDocumentOrder<T>(IEnumerable<T>) |
Returns a collection of nodes that contains all nodes in the source collection, sorted in document order. |
Nodes<T>(IEnumerable<T>) |
Returns a collection of the child nodes of every document and element in the source collection. |
Remove<T>(IEnumerable<T>) |
Removes every node in the source collection from its parent node. |