Table of Contents

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

DirOwnedHandle

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 Dir

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetGType()

public static Type GetGType()

Returns

Type

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

string

Open(string, uint)

public static Dir Open(string path, uint flags)

Parameters

path string
flags uint

Returns

Dir

ReadName()

public string ReadName()

Returns

string

Ref()

[Version("2.80")]
public Dir Ref()

Returns

Dir

Rewind()

public void Rewind()

Unref()

[Version("2.80")]
public void Unref()