Package Package Package Package Constructors

Definition

Overloads

Package(FileAccess) Package(FileAccess) Package(FileAccess) Package(FileAccess)

Initializes a new instance of the Package class that uses a given FileAccess.

Package(FileAccess, Boolean) Package(FileAccess, Boolean) Package(FileAccess, Boolean) Package(FileAccess, Boolean)

Initializes a new instance of the Package class that uses a given FileAccess and streaming option.

Package(FileAccess) Package(FileAccess) Package(FileAccess) Package(FileAccess)

Initializes a new instance of the Package class that uses a given FileAccess.

protected:
 Package(System::IO::FileAccess openFileAccess);
protected Package (System.IO.FileAccess openFileAccess);
new System.IO.Packaging.Package : System.IO.FileAccess -> System.IO.Packaging.Package
Protected Sub New (openFileAccess As FileAccess)

Parameters

openFileAccess
FileAccess FileAccess FileAccess FileAccess

The file IO permissions for the package.

Exceptions

Remarks

Package is a protected constructor of the Package abstract base class. When called in a derived class, the Package constructor initializes a new instance of the derived class.

See also

Package(FileAccess, Boolean) Package(FileAccess, Boolean) Package(FileAccess, Boolean) Package(FileAccess, Boolean)

Initializes a new instance of the Package class that uses a given FileAccess and streaming option.

protected:
 Package(System::IO::FileAccess openFileAccess, bool streaming);
protected Package (System.IO.FileAccess openFileAccess, bool streaming);
new System.IO.Packaging.Package : System.IO.FileAccess * bool -> System.IO.Packaging.Package
Protected Sub New (openFileAccess As FileAccess, streaming As Boolean)

Parameters

openFileAccess
FileAccess FileAccess FileAccess FileAccess

The file IO permissions for the package.

streaming
Boolean Boolean Boolean Boolean

true to open the package for streaming; otherwise, false.

Exceptions

Remarks

Package is a protected constructor of the Package abstract base abstract base class. When called in a derived class, the Package constructor initializes a new instance of the derived class.

See also

Applies to