PackageRelationshipCollection.GetEnumerator Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Package.CreateRelationship
Package.DeleteRelationship
PackagePart.CreateRelationship
PackagePart.DeleteRelationship
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om