Table of Contents

Class MarkupParseContext

Namespace
GLib
Assembly
GLib-2.0.dll
public sealed class MarkupParseContext : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<MarkupParseContext>, IDisposable
Inheritance
MarkupParseContext
Implements
Inherited Members

Constructors

MarkupParseContext(MarkupParseContextOwnedHandle)

public MarkupParseContext(MarkupParseContextOwnedHandle handle)

Parameters

handle MarkupParseContextOwnedHandle

Properties

Handle

public MarkupParseContextOwnedHandle Handle { get; }

Property Value

MarkupParseContextOwnedHandle

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

EndParse()

public bool EndParse()

Returns

bool

Equals(MarkupParseContext?)

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

public bool Equals(MarkupParseContext? other)

Parameters

other MarkupParseContext

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()

GetElement()

[Version("2.2")]
public string GetElement()

Returns

string

GetElementStack()

[Version("2.16")]
public SList GetElementStack()

Returns

SList

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.

GetPosition(out int, out int)

public void GetPosition(out int lineNumber, out int charNumber)

Parameters

lineNumber int
charNumber int

GetUserData()

[Version("2.18")]
public nint GetUserData()

Returns

nint

Parse(string, nint)

public bool Parse(string text, nint textLen)

Parameters

text string
textLen nint

Returns

bool

Pop()

[Version("2.18")]
public nint Pop()

Returns

nint

Push(MarkupParser, nint)

[Version("2.18")]
public void Push(MarkupParser parser, nint userData)

Parameters

parser MarkupParser
userData nint

Ref()

[Version("2.36")]
public MarkupParseContext Ref()

Returns

MarkupParseContext

Unref()

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