Class Language
- Namespace
- Pango
- Assembly
- Pango-1.0.dll
public sealed class Language : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<Language>, IDisposable
- Inheritance
-
Language
- Implements
- Inherited Members
Constructors
Language(LanguageOwnedHandle)
public Language(LanguageOwnedHandle handle)
Parameters
handleLanguageOwnedHandle
Properties
Handle
public LanguageOwnedHandle Handle { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Equals(Language?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Language? other)
Parameters
otherLanguageAn 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
objobjectThe object to compare with the current object.
Returns
FromString(string?)
public static Language? FromString(string? language)
Parameters
languagestring
Returns
GetDefault()
[Version("1.16")]
public static Language 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.
GetSampleString()
public string GetSampleString()
Returns
IncludesScript(Script)
[Version("1.4")]
public bool IncludesScript(Script script)
Parameters
scriptScript
Returns
Matches(string)
public bool Matches(string rangeList)
Parameters
rangeListstring
Returns
ToString()
public string ToString()