Class IO
Implementation (platform dependent) for IO related functionality not supported by portable libraries.
Inheritance
System.Object
IO
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fusee.Base.Imp.Blazor
Assembly: Fusee.Base.Imp.Blazor.dll
Syntax
public class IO : IIOImp
Methods
StreamFromFile(String, FileMode)
Opens a file and returns its contents as a System.IO.Stream.
Declaration
public Stream StreamFromFile(string path, FileMode mode)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | The path to the file to open. |
FileMode | mode | The file mode (read, write, append). |
Returns
Type | Description |
---|---|
System.IO.Stream | The stream specified by path. |