Class File
- Namespace
- GtkSource
- Assembly
- GtkSource-5.dll
public class File : Object, IDisposable, GTypeProvider, InstanceFactory
- Inheritance
-
File
- Implements
-
- Inherited Members
-
Constructors
File(params ConstructArgument[])
public File(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
File(FileHandle)
public File(FileHandle handle)
Parameters
handle
FileHandle
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()
Returns
- bool
IsExternallyModified()
public bool IsExternallyModified()
Returns
- bool
IsLocal()
Returns
- bool
IsReadonly()
Returns
- bool
New()
Returns
- File
SetLocation(File?)
public void SetLocation(File? location)
Parameters
location
File
SetMountOperationFactory(MountOperationFactory)
public void SetMountOperationFactory(MountOperationFactory callback)
Parameters
callback
MountOperationFactory