PackageRelationshipCollection.GetEnumerator Method ()


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

Namespace:   System.IO.Packaging
Assembly:  WindowsBase (in WindowsBase.dll)

public IEnumerator<PackageRelationship> GetEnumerator()

Return Value

Type: System.Collections.Generic.IEnumerator<PackageRelationship>

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

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.

.NET Framework
Available since 3.0
Return to top