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
Кері байланыс
https://aka.ms/ContentUserFeedback.
Жақында қолжетімді болады: 2024 жыл бойы біз GitHub Issues жүйесін мазмұнға арналған кері байланыс механизмі ретінде біртіндеп қолданыстан шығарамыз және оны жаңа кері байланыс жүйесімен ауыстырамыз. Қосымша ақпаратты мұнда қараңыз:Жіберу және пікірді көру