Windows Dev Center

FileStream Constructor

Initializes a new instance of the FileStream class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method FileStream(String, FileMode) Initializes a new instance of the FileStream class with the specified path and creation mode.
Public method FileStream(String, FileMode, FileAccess) Initializes a new instance of the FileStream class with the specified path, creation mode, and read/write permission.
Public method 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.
Public method 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.
Top

Show:
© 2015 Microsoft