Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
TryParse()
[4/6]
static
bool
System.Enum.TryParse
(
Type
enumType
,
string
value
,
bool
ignoreCase
,
bool
throwOnFailure
,
out object
result
)
inline
static
private
Definition at line
436
of file
Enum.cs
.
437
{
438
if
(
value
==
null
)
439
{
440
if
(throwOnFailure)
441
{
442
throw
new
ArgumentNullException(
"value"
);
443
}
444
result =
null
;
445
return
false
;
446
}
447
return
TryParse
(enumType,
value
.AsSpan(), ignoreCase, throwOnFailure, out result);
448
}
System.Enum.TryParse
static bool TryParse(Type enumType, string? value, out object? result)
Definition
Enum.cs:416
System.ExceptionArgument.value
@ value
References
System.Enum.TryParse()
, and
System.value
.
System
Enum
Generated by
1.10.0