Class Dir
- Namespace
- GLib
- Assembly
- GLib-2.0.dll
public sealed class Dir : IDisposable, BoxedRecord, IEquatable<Dir>
- Inheritance
-
Dir
- Implements
- Inherited Members
Constructors
Dir(DirOwnedHandle)
public Dir(DirOwnedHandle handle)
Parameters
handle
DirOwnedHandle
Properties
Handle
public DirOwnedHandle Handle { get; }
Property Value
Methods
Close()
public void Close()
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Equals(Dir?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Dir? other)
Parameters
other
DirAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetGType()
public static Type GetGType()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
MakeTmp(string?)
[Version("2.30")]
public static string MakeTmp(string? tmpl)
Parameters
tmpl
string
Returns
Open(string, uint)
public static Dir Open(string path, uint flags)
Parameters
Returns
ReadName()
public string ReadName()
Returns
Ref()
[Version("2.80")]
public Dir Ref()
Returns
Rewind()
public void Rewind()
Unref()
[Version("2.80")]
public void Unref()