In The Hand
TryParse Method (s, result)
NamespacesInTheHand.NetIrDAAddressTryParse(String, IrDAAddress%)
.NET Components for Mobility
Converts the string representation of an address to it's IrDAAddress equivalent. A return value indicates whether the operation succeeded.
Declaration Syntax
C#Visual Basic
public static bool TryParse(
	string s,
	out IrDAAddress result
)
Public Shared Function TryParse ( _
	s As String, _
	<OutAttribute> ByRef result As IrDAAddress _
) As Boolean
Parameters
s (String)
A string containing an address to convert.
result ( IrDAAddress %)
When this method returns, contains the IrDAAddress equivalent to the address contained in s, if the conversion succeeded, or null (Nothing in Visual Basic) if the conversion failed. The conversion fails if the s parameter is null or is not of the correct format.
Return Value
true if s is a valid IrDA address; otherwise, false.

Assembly: InTheHand.Net.Personal (Module: InTheHand.Net.Personal) Version: 3.0.0.0