| LanguagePairTryParse Method |
Attempts to parse a language pair represented by a string, as produced by
ToString.
Namespace: Sdl.LanguagePlatform.CoreAssembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntaxpublic static bool TryParse(
string s,
out LanguagePair lp
)
Public Shared Function TryParse (
s As String,
<OutAttribute> ByRef lp As LanguagePair
) As Boolean
public:
static bool TryParse(
String^ s,
[OutAttribute] LanguagePair^% lp
)
static member TryParse :
s : string *
lp : LanguagePair byref -> bool
Parameters
- s
- Type: SystemString
The input string - lp
- Type: Sdl.LanguagePlatform.CoreLanguagePair
Will hold the deserialized (parsed) return value upon success, and is set to null otherwise.
Return Value
Type:
Booleantrue if the parsing was successful,
false otherwise.
See Also
Comments