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
Methods
Equals(MatchInfo?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(MatchInfo? other)
Parameters
other
MatchInfoAn 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
ExpandReferences(string)
[Version("2.14")]
public string? ExpandReferences(string stringToExpand)
Parameters
stringToExpand
string
Returns
Fetch(int)
[Version("2.14")]
public string? Fetch(int matchNum)
Parameters
matchNum
int
Returns
FetchAll()
[Version("2.14")]
public string[] FetchAll()
Returns
- string[]
FetchNamed(string)
[Version("2.14")]
public string? FetchNamed(string name)
Parameters
name
string
Returns
FetchNamedPos(string, out int, out int)
[Version("2.14")]
public bool FetchNamedPos(string name, out int startPos, out int endPos)
Parameters
Returns
FetchPos(int, out int, out int)
[Version("2.14")]
public bool FetchPos(int matchNum, out int startPos, out int endPos)
Parameters
Returns
Free()
[Version("2.14")]
public void Free()
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.
GetMatchCount()
[Version("2.14")]
public int GetMatchCount()
Returns
GetRegex()
[Version("2.14")]
public Regex GetRegex()
Returns
GetString()
[Version("2.14")]
public string GetString()
Returns
IsPartialMatch()
[Version("2.14")]
public bool IsPartialMatch()
Returns
Matches()
[Version("2.14")]
public bool Matches()
Returns
Next()
[Version("2.14")]
public bool Next()
Returns
Ref()
[Version("2.30")]
public MatchInfo Ref()
Returns
Unref()
[Version("2.30")]
public void Unref()