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
Properties
Handle
public SettingsSchemaSourceOwnedHandle Handle { get; }
Property Value
Methods
Equals(SettingsSchemaSource?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(SettingsSchemaSource? other)
Parameters
other
SettingsSchemaSourceAn 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
GetDefault()
[Version("2.32")]
public static SettingsSchemaSource? GetDefault()
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.
ListSchemas(bool, out string[], out string[])
[Version("2.40")]
public void ListSchemas(bool recursive, out string[] nonRelocatable, out string[] relocatable)
Parameters
Lookup(string, bool)
[Version("2.32")]
public SettingsSchema? Lookup(string schemaId, bool recursive)
Parameters
Returns
NewFromDirectory(string, SettingsSchemaSource?, bool)
[Version("2.32")]
public static SettingsSchemaSource NewFromDirectory(string directory, SettingsSchemaSource? parent, bool trusted)
Parameters
directory
stringparent
SettingsSchemaSourcetrusted
bool
Returns
Ref()
[Version("2.32")]
public SettingsSchemaSource Ref()
Returns
Unref()
[Version("2.32")]
public void Unref()