Table of Contents

Class Encoding

Namespace
GtkSource
Assembly
GtkSource-5.dll
public sealed class Encoding : BoxedRecord, IEquatable<Encoding>
Inheritance
Encoding
Implements
Inherited Members

Constructors

Encoding(EncodingOwnedHandle)

public Encoding(EncodingOwnedHandle handle)

Parameters

handle EncodingOwnedHandle

Properties

Handle

public EncodingOwnedHandle Handle { get; }

Property Value

EncodingOwnedHandle

Methods

Copy()

public Encoding Copy()

Returns

Encoding

Equals(Encoding?)

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

public bool Equals(Encoding? other)

Parameters

other Encoding

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.

Free()

public void Free()

GetCharset()

public string GetCharset()

Returns

string

GetCurrent()

public static Encoding GetCurrent()

Returns

Encoding

GetFromCharset(string)

public static Encoding? GetFromCharset(string charset)

Parameters

charset string

Returns

Encoding

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.

GetName()

public string GetName()

Returns

string

GetUtf8()

public static Encoding GetUtf8()

Returns

Encoding

ToString()

public string ToString()

Returns

string