Table of Contents

Class MatchInfo

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

Constructors

MatchInfo(MatchInfoOwnedHandle)

public MatchInfo(MatchInfoOwnedHandle handle)

Parameters

handle MatchInfoOwnedHandle

Properties

Handle

public MatchInfoOwnedHandle Handle { get; }

Property Value

MatchInfoOwnedHandle

Methods

Equals(MatchInfo?)

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

public bool Equals(MatchInfo? other)

Parameters

other MatchInfo

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.

ExpandReferences(string)

[Version("2.14")]
public string? ExpandReferences(string stringToExpand)

Parameters

stringToExpand string

Returns

string

Fetch(int)

[Version("2.14")]
public string? Fetch(int matchNum)

Parameters

matchNum int

Returns

string

FetchAll()

[Version("2.14")]
public string[] FetchAll()

Returns

string[]

FetchNamed(string)

[Version("2.14")]
public string? FetchNamed(string name)

Parameters

name string

Returns

string

FetchNamedPos(string, out int, out int)

[Version("2.14")]
public bool FetchNamedPos(string name, out int startPos, out int endPos)

Parameters

name string
startPos int
endPos int

Returns

bool

FetchPos(int, out int, out int)

[Version("2.14")]
public bool FetchPos(int matchNum, out int startPos, out int endPos)

Parameters

matchNum int
startPos int
endPos int

Returns

bool

Free()

[Version("2.14")]
public void Free()

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.

GetMatchCount()

[Version("2.14")]
public int GetMatchCount()

Returns

int

GetRegex()

[Version("2.14")]
public Regex GetRegex()

Returns

Regex

GetString()

[Version("2.14")]
public string GetString()

Returns

string

IsPartialMatch()

[Version("2.14")]
public bool IsPartialMatch()

Returns

bool

Matches()

[Version("2.14")]
public bool Matches()

Returns

bool

Next()

[Version("2.14")]
public bool Next()

Returns

bool

Ref()

[Version("2.30")]
public MatchInfo Ref()

Returns

MatchInfo

Unref()

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