Class GDIONull
- Namespace
- Cobilas.GodotEngine.Utility
- Assembly
- com.cobilas.godot.utility.dll
This class is a representation of a null file.
public sealed class GDIONull : GDFileBase, IDisposable
- Inheritance
-
GDIONull
- Implements
- Inherited Members
Properties
Attribute
The type of the item.
public override GDFileAttributes Attribute { get; protected set; }
Property Value
- GDFileAttributes
Returns the type of attribute the item has.
Null
: Indicates that the item is a representation of a null file.File
: Indicates that the item is a representation of a file.Directory
: Indicates that the item is a representation of a directory file.
DirectoryNull
Represents a null directory file.
public static GDDirectory DirectoryNull { get; }
Property Value
- GDDirectory
Returns a representation of a null directory file.
FileNull
Represents a null file.
public static GDFile FileNull { get; }
Property Value
- GDFile
Returns a representation of a null file.
Name
Item name.
public override string Name { get; }
Property Value
- string
Returns the name of the item.
NameWithoutExtension
The name of the item without extension.
public override string NameWithoutExtension { get; }
Property Value
- string
Returns the item name without its extension.
Parent
The item's parent GDFileBase.
public override GDFileBase Parent { get; protected set; }
Property Value
- GDFileBase
Returns the parent GDFileBase that the item is affiliated with.
Path
The path of the item.
public override string Path { get; protected set; }
Property Value
- string
Returns the full or relative path of the item.
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public override void Dispose()