Muokkaa

Jaa


Package.FileOpenAccess Property

Definition

Gets the file access setting for the package.

public:
 property System::IO::FileAccess FileOpenAccess { System::IO::FileAccess get(); };
public System.IO.FileAccess FileOpenAccess { get; }
member this.FileOpenAccess : System.IO.FileAccess
Public ReadOnly Property FileOpenAccess As FileAccess

Property Value

One of the FileAccess values: Read, Write, or ReadWrite.

Exceptions

The package is not open (Dispose(Boolean) or Close() has been called).

Remarks

The FileOpenAccess property has no default value. The file access setting is specified in the Package constructor call when you create a new package, or in the Open call when you open an existing package.

Applies to