Table of Contents

Class MarkupParseContext

Namespace
GLib
Assembly
GLib-2.0.dll
public sealed class MarkupParseContext : BoxedRecord, IEquatable<MarkupParseContext>
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

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

Returns

IntPtr

Parse(string, long)

public bool Parse(string text, long textLen)

Parameters

text string
textLen long

Returns

bool

Pop()

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

Returns

IntPtr

Push(MarkupParser, IntPtr)

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

Parameters

parser MarkupParser
userData IntPtr

Ref()

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

Returns

MarkupParseContext

Unref()

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