Package Methods

Package Methods

 

Namespace:   System.IO.Packaging
Assembly:  WindowsBase (in WindowsBase.dll)

NameDescription
System_CAPS_pubmethodClose()

Saves and closes the package plus all underlying part streams.

System_CAPS_pubmethodCreatePart(Uri, String)

Creates a new uncompressed part with a given URI and content type.

System_CAPS_pubmethodCreatePart(Uri, String, CompressionOption)

Creates a new part with a given URI, content type, and compression option.

System_CAPS_protmethodCreatePartCore(Uri, String, CompressionOption)

When overridden in a derived class, creates a new part in the package.

System_CAPS_pubmethodCreateRelationship(Uri, TargetMode, String)

Creates a package-level relationship to a part with a given URI, target mode, and relationship type.

System_CAPS_pubmethodCreateRelationship(Uri, TargetMode, String, String)

Creates a package-level relationship to a part with a given URI, target mode, relationship type, and identifier (ID).

System_CAPS_pubmethodDeletePart(Uri)

Deletes a part with a given URI from the package.

System_CAPS_protmethodDeletePartCore(Uri)

When overridden in a derived class, deletes a part with a given URI.

System_CAPS_pubmethodDeleteRelationship(String)

Deletes a package-level relationship.

System_CAPS_protmethodDispose(Boolean)

Flushes and saves the content of all parts and relationships, closes the package, and releases all resources.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodFlush()

Saves the contents of all parts and relationships that are contained in the package.

System_CAPS_protmethodFlushCore()

When overridden in a derived class, saves the content of all parts and relationships to the derived class store.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetPart(Uri)

Returns the part with a given URI.

System_CAPS_protmethodGetPartCore(Uri)

When overridden in a derived class, returns the part addressed by a given URI.

System_CAPS_pubmethodGetParts()

Returns a collection of all the parts in the package.

System_CAPS_protmethodGetPartsCore()

When overridden in a derived class, returns an array of all the parts in the package.

System_CAPS_pubmethodGetRelationship(String)

Returns the package-level relationship with a given identifier.

System_CAPS_pubmethodGetRelationships()

Returns a collection of all the package-level relationships.

System_CAPS_pubmethodGetRelationshipsByType(String)

Returns a collection of all the package-level relationships that match a given RelationshipType.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticOpen(Stream)

Opens a package on a given IO stream.

System_CAPS_pubmethodSystem_CAPS_staticOpen(Stream, FileMode)

Opens a package with a given IO stream and file mode.

System_CAPS_pubmethodSystem_CAPS_staticOpen(Stream, FileMode, FileAccess)

Opens a package with a given IO stream, file mode, and file access setting.

System_CAPS_pubmethodSystem_CAPS_staticOpen(String)

Opens a package at a given path and file name.

System_CAPS_pubmethodSystem_CAPS_staticOpen(String, FileMode)

Opens a package at a given path using a given file mode.

System_CAPS_pubmethodSystem_CAPS_staticOpen(String, FileMode, FileAccess)

Opens a package at a given path using a given file mode and file access setting.

System_CAPS_pubmethodSystem_CAPS_staticOpen(String, FileMode, FileAccess, FileShare)

Opens a package at a given path using a given file mode, file access, and file share setting.

System_CAPS_pubmethodPartExists(Uri)

Indicates whether a part with a given URI is in the package.

System_CAPS_pubmethodRelationshipExists(String)

Indicates whether a package-level relationship with a given ID is contained in the package.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIDisposable.Dispose()

This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended for application use. Use the type-safe Dispose method instead.

Return to top
Show:
© 2016 Microsoft