PackagePartCollection Class

Definition

Represents a collection of PackagePart objects.

public ref class PackagePartCollection : System::Collections::Generic::IEnumerable<System::IO::Packaging::PackagePart ^>
public class PackagePartCollection : System.Collections.Generic.IEnumerable<System.IO.Packaging.PackagePart>
type PackagePartCollection = class
    interface seq<PackagePart>
    interface IEnumerable
Public Class PackagePartCollection
Implements IEnumerable(Of PackagePart)
Inheritance
PackagePartCollection
Implements

Remarks

The PackagePartCollection class has no public constructor. This class is created and returned by the Package.GetParts method.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator()

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

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IEnumerable.GetEnumerator()

For a description of this member, see GetEnumerator().

IEnumerable<PackagePart>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to

See also