Table of Contents

Class File

Namespace
GtkSource
Assembly
GtkSource-5.dll
public class File : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
File
Implements
Inherited Members

Constructors

File(bool, params ConstructArgument[])

protected File(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

File(IntPtr, bool)

protected File(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

CompressionTypePropertyDefinition

public static readonly Property<CompressionType, File> CompressionTypePropertyDefinition

Field Value

Property<CompressionType, File>

EncodingPropertyDefinition

public static readonly Property<Encoding, File> EncodingPropertyDefinition

Field Value

Property<Encoding, File>

LocationPropertyDefinition

public static readonly Property<File, File> LocationPropertyDefinition

Field Value

Property<File, File>

NewlineTypePropertyDefinition

public static readonly Property<NewlineType, File> NewlineTypePropertyDefinition

Field Value

Property<NewlineType, File>

ReadOnlyPropertyDefinition

public static readonly Property<bool, File> ReadOnlyPropertyDefinition

Field Value

Property<bool, File>

Properties

CompressionType

public CompressionType CompressionType { get; }

Property Value

CompressionType

Encoding

public Encoding Encoding { get; }

Property Value

Encoding

Location

public File Location { get; set; }

Property Value

File

NewlineType

public NewlineType NewlineType { get; }

Property Value

NewlineType

ReadOnly

public bool ReadOnly { get; }

Property Value

bool

Methods

CheckFileOnDisk()

public void CheckFileOnDisk()

GetCompressionType()

public CompressionType GetCompressionType()

Returns

CompressionType

GetEncoding()

public Encoding GetEncoding()

Returns

Encoding

GetGType()

public static Type GetGType()

Returns

Type

GetLocation()

public File GetLocation()

Returns

File

GetNewlineType()

public NewlineType GetNewlineType()

Returns

NewlineType

IsDeleted()

public bool IsDeleted()

Returns

bool

IsExternallyModified()

public bool IsExternallyModified()

Returns

bool

IsLocal()

public bool IsLocal()

Returns

bool

IsReadonly()

public bool IsReadonly()

Returns

bool

New()

public static File New()

Returns

File

SetLocation(File?)

public void SetLocation(File? location)

Parameters

location File

SetMountOperationFactory(MountOperationFactory)

public void SetMountOperationFactory(MountOperationFactory callback)

Parameters

callback MountOperationFactory