This documentation is archived and is not being maintained.

Package.Open Method

Opens a package.

Name Description
Package.Open (Stream) Opens a package on a specified IO stream.
Package.Open (String) Opens a package at a specified path and file name.
Package.Open (Stream, FileMode) Opens a package with a specified IO stream and file mode.
Package.Open (String, FileMode) Opens a package at a specified path using a given file mode.
Package.Open (Stream, FileMode, FileAccess) Opens a package with a specified IO stream, file mode, and file access setting.
Package.Open (String, FileMode, FileAccess) Opens a package at a specified path using a given file mode and file access setting.
Package.Open (String, FileMode, FileAccess, FileShare) Opens a package at a specified path using a given file mode, file access, and file share setting.

ZipPackage is the default package type that is used by the Open method.

For additional information see the Open Packaging Conventions (OPC) specification available for download at http://go.microsoft.com/fwlink/?LinkID=71255.

Show: