ByteViewer.SaveToFile(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes the raw data from the data buffer to a file.
public:
virtual void SaveToFile(System::String ^ path);
public virtual void SaveToFile (string path);
abstract member SaveToFile : string -> unit
override this.SaveToFile : string -> unit
Public Overridable Sub SaveToFile (path As String)
Parameters
- path
- String
The file path to save to.
Exceptions
path
is null
.
path
is an empty string (""), contains only white space, or contains one or more invalid characters.
The specified path is invalid, such as being on an unmapped drive.
The file write failed.
The specified path, file name, or both exceed the system-defined maximum length.
The access requested is not permitted by the operating system for the specified path
, such as when access is Write
or ReadWrite
and the file or directory is set for read-only access.