Class FileIOStream
- Namespace
- Gio
- Assembly
- Gio-2.0.dll
public class FileIOStream : IOStream, IObject, INotifyPropertyChanged, IDisposable, Seekable, IHandle, GTypeProvider
- Inheritance
-
FileIOStream
- Implements
- Inherited Members
Constructors
FileIOStream(bool, params ConstructArgument[])
protected FileIOStream(bool owned, params ConstructArgument[] constructArguments)
Parameters
owned
boolconstructArguments
ConstructArgument[]
FileIOStream(IntPtr, bool)
protected FileIOStream(IntPtr ptr, bool ownedRef)
Parameters
Methods
CanSeek()
public bool CanSeek()
Returns
CanTruncate()
public bool CanTruncate()
Returns
GetEtag()
[Version("2.22")]
public string? GetEtag()
Returns
GetGType()
public static Type GetGType()
Returns
QueryInfo(string, Cancellable?)
[Version("2.22")]
public FileInfo QueryInfo(string attributes, Cancellable? cancellable)
Parameters
attributes
stringcancellable
Cancellable
Returns
QueryInfoFinish(AsyncResult)
[Version("2.22")]
public FileInfo QueryInfoFinish(AsyncResult result)
Parameters
result
AsyncResult
Returns
Seek(long, SeekType, Cancellable?)
public bool Seek(long offset, SeekType type, Cancellable? cancellable)
Parameters
offset
longtype
SeekTypecancellable
Cancellable
Returns
Tell()
public long Tell()
Returns
Truncate(long, Cancellable?)
public bool Truncate(long offset, Cancellable? cancellable)
Parameters
offset
longcancellable
Cancellable