TableRowGroupCollection Class

Definition

Provides standard facilities for creating and managing a type-safe, ordered collection of TableRowGroup objects.

public ref class TableRowGroupCollection sealed : System::Collections::Generic::ICollection<System::Windows::Documents::TableRowGroup ^>, System::Collections::Generic::IEnumerable<System::Windows::Documents::TableRowGroup ^>, System::Collections::Generic::IList<System::Windows::Documents::TableRowGroup ^>, System::Collections::IList
public sealed class TableRowGroupCollection : System.Collections.Generic.ICollection<System.Windows.Documents.TableRowGroup>, System.Collections.Generic.IEnumerable<System.Windows.Documents.TableRowGroup>, System.Collections.Generic.IList<System.Windows.Documents.TableRowGroup>, System.Collections.IList
type TableRowGroupCollection = class
    interface IList<TableRowGroup>
    interface ICollection<TableRowGroup>
    interface seq<TableRowGroup>
    interface IEnumerable
    interface IList
    interface ICollection
Public NotInheritable Class TableRowGroupCollection
Implements ICollection(Of TableRowGroup), IEnumerable(Of TableRowGroup), IList, IList(Of TableRowGroup)
Inheritance
TableRowGroupCollection
Implements

Remarks

This collection supports standard zero-based indexing.

The RowGroups property provided by the Table class returns a TableRowGroupCollection. For more information, see How to: Manipulate a Table's Row Groups through the RowGroups Property.

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(TableRowGroup)

Appends a specified item to the collection.

Clear()

Clears all items from the collection.

Contains(TableRowGroup)

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(TableRowGroup[], Int32)

Copies the contents of the collection and inserts them into a specified TableRowGroup 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(TableRowGroup)

Returns the zero-based index of specified collection item.

Insert(Int32, TableRowGroup)

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(TableRowGroup)

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<TableRowGroup>.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 T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption)

Copies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler)

Copies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

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.

Applies to

See also