Virtual PhotonicsThe FileIO type exposes the following members.
Back to Top
Methods
| Name | Description | |
|---|---|---|
| Clone T |
Static method to clone an object
| |
| CopyStream |
Copies one stream to the other
| |
| CreateDirectory |
Platform-agnostic directory creation (uses isolated storage for Silverlight)
| |
| FileDelete |
Statis method to delete a file in Silverlight or Desktop
| |
| FileExists |
Static method to check if a file exists in Silverlight or Desktop
| |
| ReadArrayFromBinary T (String) |
Reads array from a binary file, using the accompanying .xml file to specify dimensions
| |
| ReadArrayFromBinary T (String, Int32 ) |
Reads array from a binary file using explicitly-set dimensions
| |
| ReadArrayFromBinaryInResources T (String, String) |
Reads array from a binary file in resources, using the accompanying .xml file to specify dimensions
| |
| ReadArrayFromBinaryInResources T (String, String, Int32 ) |
Reads array from a binary file in resources using explicitly-set dimensions
| |
| ReadFromBinary T |
Read from a binary stream
| |
| ReadFromBinaryCustom T | ||
| ReadFromBinaryInResources T |
Read an object of type Time from a binary file in resources
| |
| ReadFromBinaryInResourcesCustom T | ||
| ReadFromBinaryStream T |
Deserializes a stream into an object
| |
| ReadFromStream T |
Static method to read a specified type from a stream
| |
| ReadFromXML T |
Reads data of a specified type from an XML file
| |
| ReadFromXMLInResources T |
Reads data of a specified type from an XML file in resources
| |
| ReadScalarValueFromBinary T |
Reads a scalar value from a binary file
| |
| WriteArrayToBinary T (Array, String) |
Writes an array to a binary file, as well as an accompanying .xml file to store array dimensions
| |
| WriteArrayToBinary T (Array, String, Boolean) |
Writes an array to a binary file and optionally accompanying .xml file
(to store array dimensions) if includeMetaData = true
| |
| WriteScalarValueToBinary T |
Writes a scalar value to a binary file
| |
| WriteTextToStream |
Writes the string to a stream
| |
| WriteToBinary T |
Write an object of type Time to a binary file
| |
| WriteToBinaryCustom T | ||
| WriteToBinaryStream T |
Serializes an object of type Time to the given stream
| |
| WriteToStream T |
Static method to write an object to a stream
| |
| WriteToTextFile |
Writes the string to a text file
| |
| WriteToXML T |
Writes data of a specified type to an XML file
| |
| ZipFiles(IEnumerable String , String, Stream) |
Writes one or more files to a compressed zip package
| |
| ZipFiles(IEnumerable String , String, String) |
Writes one or more files to a compressed zip package
|
See Also