IrDAAddressTryParse Method
Converts the string representation of an address to it's
IrDAAddress equivalent.
A return value indicates whether the operation succeeded.
Namespace: InTheHand.NetAssembly: InTheHand.Net.IrDA (in InTheHand.Net.IrDA.dll) Version: 4.0.2+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
public static bool TryParse(
string s,
out IrDAAddress result
)
Public Shared Function TryParse (
s As String,
<OutAttribute> ByRef result As IrDAAddress
) As Boolean
public:
static bool TryParse(
String^ s,
[OutAttribute] IrDAAddress^% result
)
static member TryParse :
s : string *
result : IrDAAddress byref -> bool
- 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.
Booleantrue if s is a valid IrDA address; otherwise, false.