Class MatchInfo
public class MatchInfo
- Inheritance
-
MatchInfo
- Inherited Members
Methods
ExpandReferences(MatchInfoHandle, NonNullableUtf8StringHandle, out ErrorOwnedHandle)
Calls native method g_match_info_expand_references. Version: 2.14
[Version("2.14")]
public static extern NullableUtf8StringOwnedHandle ExpandReferences(MatchInfoHandle matchInfo, NonNullableUtf8StringHandle stringToExpand, out ErrorOwnedHandle error)
Parameters
matchInfo
MatchInfoHandleTransfer ownership: None Nullable: True
stringToExpand
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- NullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: True
Fetch(MatchInfoHandle, int)
Calls native method g_match_info_fetch. Version: 2.14
[Version("2.14")]
public static extern NullableUtf8StringOwnedHandle Fetch(MatchInfoHandle matchInfo, int matchNum)
Parameters
matchInfo
MatchInfoHandleTransfer ownership: None Nullable: False
matchNum
intTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: True
FetchAll(MatchInfoHandle)
Calls native method g_match_info_fetch_all. Version: 2.14
[Version("2.14")]
public static extern Utf8StringArrayNullTerminatedOwnedHandle FetchAll(MatchInfoHandle matchInfo)
Parameters
matchInfo
MatchInfoHandleTransfer ownership: None Nullable: False
Returns
- Utf8StringArrayNullTerminatedOwnedHandle
Transfer ownership: Full Nullable: False
FetchNamed(MatchInfoHandle, NonNullableUtf8StringHandle)
Calls native method g_match_info_fetch_named. Version: 2.14
[Version("2.14")]
public static extern NullableUtf8StringOwnedHandle FetchNamed(MatchInfoHandle matchInfo, NonNullableUtf8StringHandle name)
Parameters
matchInfo
MatchInfoHandleTransfer ownership: None Nullable: False
name
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: True
FetchNamedPos(MatchInfoHandle, NonNullableUtf8StringHandle, out int, out int)
Calls native method g_match_info_fetch_named_pos. Version: 2.14
[Version("2.14")]
public static extern bool FetchNamedPos(MatchInfoHandle matchInfo, NonNullableUtf8StringHandle name, out int startPos, out int endPos)
Parameters
matchInfo
MatchInfoHandleTransfer ownership: None Nullable: False
name
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
startPos
intTransfer ownership: Full Nullable: False
endPos
intTransfer ownership: Full Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
FetchPos(MatchInfoHandle, int, out int, out int)
Calls native method g_match_info_fetch_pos. Version: 2.14
[Version("2.14")]
public static extern bool FetchPos(MatchInfoHandle matchInfo, int matchNum, out int startPos, out int endPos)
Parameters
matchInfo
MatchInfoHandleTransfer ownership: None Nullable: False
matchNum
intTransfer ownership: None Nullable: False
startPos
intTransfer ownership: Full Nullable: False
endPos
intTransfer ownership: Full Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
Free(MatchInfoHandle)
Calls native method g_match_info_free. Version: 2.14
[Version("2.14")]
public static extern void Free(MatchInfoHandle matchInfo)
Parameters
matchInfo
MatchInfoHandleTransfer ownership: None Nullable: True
GetGType()
Calls native function g_match_info_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetMatchCount(MatchInfoHandle)
Calls native method g_match_info_get_match_count. Version: 2.14
[Version("2.14")]
public static extern int GetMatchCount(MatchInfoHandle matchInfo)
Parameters
matchInfo
MatchInfoHandleTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
GetRegex(MatchInfoHandle)
Calls native method g_match_info_get_regex. Version: 2.14
[Version("2.14")]
public static extern RegexUnownedHandle GetRegex(MatchInfoHandle matchInfo)
Parameters
matchInfo
MatchInfoHandleTransfer ownership: None Nullable: False
Returns
- RegexUnownedHandle
Transfer ownership: None Nullable: False
GetString(MatchInfoHandle)
Calls native method g_match_info_get_string. Version: 2.14
[Version("2.14")]
public static extern NonNullableUtf8StringUnownedHandle GetString(MatchInfoHandle matchInfo)
Parameters
matchInfo
MatchInfoHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
IsPartialMatch(MatchInfoHandle)
Calls native method g_match_info_is_partial_match. Version: 2.14
[Version("2.14")]
public static extern bool IsPartialMatch(MatchInfoHandle matchInfo)
Parameters
matchInfo
MatchInfoHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
Matches(MatchInfoHandle)
Calls native method g_match_info_matches. Version: 2.14
[Version("2.14")]
public static extern bool Matches(MatchInfoHandle matchInfo)
Parameters
matchInfo
MatchInfoHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
Next(MatchInfoHandle, out ErrorOwnedHandle)
Calls native method g_match_info_next. Version: 2.14
[Version("2.14")]
public static extern bool Next(MatchInfoHandle matchInfo, out ErrorOwnedHandle error)
Parameters
matchInfo
MatchInfoHandleTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
Ref(MatchInfoHandle)
Calls native method g_match_info_ref. Version: 2.30
[Version("2.30")]
public static extern MatchInfoOwnedHandle Ref(MatchInfoHandle matchInfo)
Parameters
matchInfo
MatchInfoHandleTransfer ownership: None Nullable: False
Returns
- MatchInfoOwnedHandle
Transfer ownership: Full Nullable: False
Unref(MatchInfoHandle)
Calls native method g_match_info_unref. Version: 2.30
[Version("2.30")]
public static extern void Unref(MatchInfoHandle matchInfo)
Parameters
matchInfo
MatchInfoHandleTransfer ownership: None Nullable: False