Rediger

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
[<System.CLSCompliant(false)>]
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

Name Description
Count

Gets the number of elements that are in the collection.

Item[Int32]

Gets the element that is at the specified index.

Methods

Name Description
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.

GetEnumerator()

Returns an enumerator for iterating through the collection.

Events

Name Description
CollectionChanged

Occurs when an element is added or removed.

Explicit Interface Implementations

Name Description
IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection. Use the type-safe GetEnumerator() method instead.

Applies to