Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetEnumerator Method
Collapse the table of content
Expand the table of content

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.

Implements

IEnumerable<T>.GetEnumerator()

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
Show:
© 2015 Microsoft