Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft