SampSharp
SampSharp
SampSharp.Entities.SAMP.Commands.Parsers
StringParser Class
StringParser Methods
TryParse Method
StringParser
TryParse Method
Tries to parse the specified
inputText
into the argument for this parser. The consumed text is removed from the
inputText
.
Namespace:
SampSharp.Entities.SAMP.Commands.Parsers
Assembly:
SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
Copy
public
bool
TryParse
(
IServiceProvider
services
,
ref
string
inputText
,
out
Object
result
)
Parameters
services
Type:
System
IServiceProvider
A service provider.
inputText
Type:
System
String
The input text to parse.
result
Type:
System
Object
The parsed result.
Return Value
Type:
Boolean
true
if the parameter could be parsed; otherwise
false
.
Implements
ICommandParameterParser
TryParse(IServiceProvider, String
, Object
)
See Also
Reference
StringParser Class
SampSharp.Entities.SAMP.Commands.Parsers Namespace