Bewerken

Delen via


PackageRelationshipCollection.GetEnumerator Method

Definition

Returns an enumerator for iterating through the relationships in the collection.

public:
 virtual System::Collections::Generic::IEnumerator<System::IO::Packaging::PackageRelationship ^> ^ GetEnumerator();
public System.Collections.Generic.IEnumerator<System.IO.Packaging.PackageRelationship> GetEnumerator ();
abstract member GetEnumerator : unit -> System.Collections.Generic.IEnumerator<System.IO.Packaging.PackageRelationship>
override this.GetEnumerator : unit -> System.Collections.Generic.IEnumerator<System.IO.Packaging.PackageRelationship>
Public Function GetEnumerator () As IEnumerator(Of PackageRelationship)

Returns

An enumerator for iterating through the PackageRelationship elements in the collection.

Implements

Remarks

The collection accessed by the enumerator is invalidated after any change occurs to the underlying collection. The underlying collection can change when any of the following methods are called.

Applies to