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
Properties
Handle
public MarkupParseContextOwnedHandle Handle { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
EndParse()
public bool EndParse()
Returns
Equals(MarkupParseContext?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(MarkupParseContext? other)
Parameters
other
MarkupParseContextAn 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()
GetElement()
[Version("2.2")]
public string GetElement()
Returns
GetElementStack()
[Version("2.16")]
public SList GetElementStack()
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.
GetPosition(out int, out int)
public void GetPosition(out int lineNumber, out int charNumber)
Parameters
GetUserData()
[Version("2.18")]
public nint GetUserData()
Returns
Parse(string, nint)
public bool Parse(string text, nint textLen)
Parameters
Returns
Pop()
[Version("2.18")]
public nint Pop()
Returns
Push(MarkupParser, nint)
[Version("2.18")]
public void Push(MarkupParser parser, nint userData)
Parameters
parser
MarkupParseruserData
nint
Ref()
[Version("2.36")]
public MarkupParseContext Ref()
Returns
Unref()
[Version("2.36")]
public void Unref()