DocumentReferenceCollection Class
Definition
Important
This API is not CLS-compliant.
Defines an ordered list of DocumentReference elements.
public ref class DocumentReferenceCollection sealed : System::Collections::Generic::IEnumerable<System::Windows::Documents::DocumentReference ^>, System::Collections::Specialized::INotifyCollectionChanged
[System.CLSCompliant(false)]
public sealed class DocumentReferenceCollection : System.Collections.Generic.IEnumerable<System.Windows.Documents.DocumentReference>, System.Collections.Specialized.INotifyCollectionChanged
type DocumentReferenceCollection = class
interface seq<DocumentReference>
interface IEnumerable
interface INotifyCollectionChanged
Public NotInheritable Class DocumentReferenceCollection
Implements IEnumerable(Of DocumentReference), INotifyCollectionChanged
- Inheritance
-
DocumentReferenceCollection
- Attributes
- Implements
Remarks
When associated with a FixedDocumentSequence, the order of the elements that the DocumentReferenceCollection contains should be the same as the document order that is defined in the FixedDocumentSequence.
Properties
Count |
Gets the number of elements that are in the collection. |
Item[Int32] |
Gets the element that is at the specified index. |
Methods
Add(DocumentReference) |
Adds an element to the end of the collection. |
CopyTo(DocumentReference[], Int32) |
Copies the whole collection to an array that starts at a given array index. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetEnumerator() |
Returns an enumerator for iterating through the collection. |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Events
CollectionChanged |
Occurs when an element is added or removed. |
Explicit Interface Implementations
IEnumerable.GetEnumerator() |
Returns an enumerator that iterates through a collection. Use the type-safe GetEnumerator() method instead. |
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. |