Table of Contents

Class SettingsSchemaSource

Namespace
Gio
Assembly
Gio-2.0.dll
public sealed class SettingsSchemaSource : BoxedRecord, IEquatable<SettingsSchemaSource>
Inheritance
SettingsSchemaSource
Implements
Inherited Members

Constructors

SettingsSchemaSource(SettingsSchemaSourceOwnedHandle)

public SettingsSchemaSource(SettingsSchemaSourceOwnedHandle handle)

Parameters

handle SettingsSchemaSourceOwnedHandle

Properties

Handle

public SettingsSchemaSourceOwnedHandle Handle { get; }

Property Value

SettingsSchemaSourceOwnedHandle

Methods

Equals(SettingsSchemaSource?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(SettingsSchemaSource? other)

Parameters

other SettingsSchemaSource

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.

GetDefault()

[Version("2.32")]
public static SettingsSchemaSource? GetDefault()

Returns

SettingsSchemaSource

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.

ListSchemas(bool, out string[], out string[])

[Version("2.40")]
public void ListSchemas(bool recursive, out string[] nonRelocatable, out string[] relocatable)

Parameters

recursive bool
nonRelocatable string[]
relocatable string[]

Lookup(string, bool)

[Version("2.32")]
public SettingsSchema? Lookup(string schemaId, bool recursive)

Parameters

schemaId string
recursive bool

Returns

SettingsSchema

NewFromDirectory(string, SettingsSchemaSource?, bool)

[Version("2.32")]
public static SettingsSchemaSource NewFromDirectory(string directory, SettingsSchemaSource? parent, bool trusted)

Parameters

directory string
parent SettingsSchemaSource
trusted bool

Returns

SettingsSchemaSource

Ref()

[Version("2.32")]
public SettingsSchemaSource Ref()

Returns

SettingsSchemaSource

Unref()

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