|
TouchToneTryParse Method
|
Converts the character representation of a touch tone key into
an instance of the
TouchTone class. A return value
indicates whether the conversion succeeded.
Namespace: GSF.Media.SoundAssembly: GSF.Media (in GSF.Media.dll) Version: 2.4.246-beta
Syntaxpublic static bool TryParse(
char key,
out TouchTone result
)
Public Shared Function TryParse (
key As Char,
<OutAttribute> ByRef result As TouchTone
) As Boolean
public:
static bool TryParse(
wchar_t key,
[OutAttribute] TouchTone^% result
)
static member TryParse :
key : char *
result : TouchTone byref -> bool
GSF.Media.Sound.TouchTone.TryParse = function(key, result);
View SourceParameters
- key Char
- A character containing a touch tone key to convert.
- result TouchTone
-
When this method returns, contains an instance of the TouchTone
class equivalent to the touch tone key, if the conversion succeeded, or null
if the conversion failed. The conversion fails if the key
parameter is not a valid touch tone.
Return Value
Booleantrue if s was converted successfully; otherwise, false.
See Also