BluetoothAddressTryParse Method
Converts the string representation of an address to it's
BluetoothAddress equivalent.
A return value indicates whether the operation succeeded.
Namespace: InTheHand.NetAssembly: InTheHand.Net.Bluetooth (in InTheHand.Net.Bluetooth.dll) Version: 4.0.32+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
public static bool TryParse(
string bluetoothString,
out BluetoothAddress result
)
Public Shared Function TryParse (
bluetoothString As String,
<OutAttribute> ByRef result As BluetoothAddress
) As Boolean
public:
static bool TryParse(
String^ bluetoothString,
[OutAttribute] BluetoothAddress^% result
)
static member TryParse :
bluetoothString : string *
result : BluetoothAddress byref -> bool
- bluetoothString String
- A string containing an address to convert.
- result BluetoothAddress
- When this method returns, contains the BluetoothAddress 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 Bluetooth address; otherwise, false.