Table of Contents

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 bool
constructArguments ConstructArgument[]

FileIOStream(IntPtr, bool)

protected FileIOStream(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Methods

CanSeek()

public bool CanSeek()

Returns

bool

CanTruncate()

public bool CanTruncate()

Returns

bool

GetEtag()

[Version("2.22")]
public string? GetEtag()

Returns

string

GetGType()

public static Type GetGType()

Returns

Type

QueryInfo(string, Cancellable?)

[Version("2.22")]
public FileInfo QueryInfo(string attributes, Cancellable? cancellable)

Parameters

attributes string
cancellable Cancellable

Returns

FileInfo

QueryInfoFinish(AsyncResult)

[Version("2.22")]
public FileInfo QueryInfoFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

FileInfo

Seek(long, SeekType, Cancellable?)

public bool Seek(long offset, SeekType type, Cancellable? cancellable)

Parameters

offset long
type SeekType
cancellable Cancellable

Returns

bool

Tell()

public long Tell()

Returns

long

Truncate(long, Cancellable?)

public bool Truncate(long offset, Cancellable? cancellable)

Parameters

offset long
cancellable Cancellable

Returns

bool