Class Encoding
- Namespace
- GtkSource
- Assembly
- GtkSource-5.dll
public sealed class Encoding : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<Encoding>, IDisposable
- Inheritance
-
Encoding
- Implements
- Inherited Members
Constructors
Encoding(EncodingOwnedHandle)
public Encoding(EncodingOwnedHandle handle)
Parameters
handle
EncodingOwnedHandle
Properties
Handle
public EncodingOwnedHandle Handle { get; }
Property Value
Methods
Copy()
public Encoding Copy()
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Equals(Encoding?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Encoding? other)
Parameters
other
EncodingAn 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
Free()
public void Free()
GetCharset()
public string GetCharset()
Returns
GetCurrent()
public static Encoding GetCurrent()
Returns
GetFromCharset(string)
public static Encoding? GetFromCharset(string charset)
Parameters
charset
string
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.
GetName()
public string GetName()
Returns
GetUtf8()
public static Encoding GetUtf8()
Returns
ToString()
public string ToString()