| Brecham.Obex — An OBEX library for the .NET Framework |
|
ObexClientSession.TryGetConnectionId Method
Gets the Connection Id using the TryParse pattern.
[Visual Basic]
Public Function TryGetConnectionId( _
ByRef
connectionId As
Integer _
) As
Boolean
[C#]
public
bool TryGetConnectionId(
out
int connectionId);
Parameters
-
connectionId
- When this method returns, contains the Connection Id, if one was set previously, or an undefined value if none was set.
Return Value
true if the Connection Id is set; otherwise, false.
See Also
ObexClientSession Class | Brecham.Obex Namespace | ConnectionId | ClearConnectionId | InvalidConnectionId