Export (0) Print
Expand All
0 out of 6 rated this helpful - Rate this topic

FileStream Constructor

Initializes a new instance of the FileStream class.

Name Description
FileStream (IntPtr, FileAccess) Initializes a new instance of the FileStream class for the specified file handle, with the specified read/write permission.
FileStream (SafeFileHandle, FileAccess) Initializes a new instance of the FileStream class for the specified file handle, with the specified read/write permission.
FileStream (String, FileMode) Initializes a new instance of the FileStream class with the specified path and creation mode.

Supported by the .NET Compact Framework.

FileStream (IntPtr, FileAccess, Boolean) Initializes a new instance of the FileStream class for the specified file handle, with the specified read/write permission and FileStream instance ownership.
FileStream (SafeFileHandle, FileAccess, Int32) Initializes a new instance of the FileStream class for the specified file handle, with the specified read/write permission, and buffer size.
FileStream (String, FileMode, FileAccess) Initializes a new instance of the FileStream class with the specified path, creation mode, and read/write permission.

Supported by the .NET Compact Framework.

FileStream (IntPtr, FileAccess, Boolean, Int32) Initializes a new instance of the FileStream class for the specified file handle, with the specified read/write permission, FileStream instance ownership, and buffer size.
FileStream (SafeFileHandle, FileAccess, Int32, Boolean) Initializes a new instance of the FileStream class for the specified file handle, with the specified read/write permission, buffer size, and synchronous or asynchronous state.
FileStream (String, FileMode, FileAccess, FileShare) Initializes a new instance of the FileStream class with the specified path, creation mode, read/write permission, and sharing permission.

Supported by the .NET Compact Framework.

FileStream (IntPtr, FileAccess, Boolean, Int32, Boolean) Initializes a new instance of the FileStream class for the specified file handle, with the specified read/write permission, FileStream instance ownership, buffer size, and synchronous or asynchronous state.
FileStream (String, FileMode, FileAccess, FileShare, Int32) Initializes a new instance of the FileStream class with the specified path, creation mode, read/write and sharing permission, and buffer size.

Supported by the .NET Compact Framework.

FileStream (String, FileMode, FileAccess, FileShare, Int32, Boolean) Initializes a new instance of the FileStream class with the specified path, creation mode, read/write and sharing permission, buffer size, and synchronous or asynchronous state.

Supported by the .NET Compact Framework.

FileStream (String, FileMode, FileAccess, FileShare, Int32, FileOptions) Initializes a new instance of the FileStream class with the specified path, creation mode, read/write and sharing permission, the access other FileStreams can have to the same file, the buffer size, and additional file options.
FileStream (String, FileMode, FileSystemRights, FileShare, Int32, FileOptions) Initializes a new instance of the FileStream class with the specified path, creation mode, access rights and sharing permission, the buffer size, and additional file options.
FileStream (String, FileMode, FileSystemRights, FileShare, Int32, FileOptions, FileSecurity) Initializes a new instance of the FileStream class with the specified path, creation mode, access rights and sharing permission, the buffer size, additional file options, access control and audit security.

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.