TrySet Method

Sets the [IPAddress] property or the [HostName] property.

Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)


Public Function TrySet ( _
    value As String _
) As Boolean
Dim instance As SdpConnection
Dim value As String
Dim returnValue As Boolean

returnValue = instance.TrySet(value)
public bool TrySet(
    string value


Return Value

Type: System..::..Boolean
Returns true if the supplied value is valid and can be set.


Sets the [IPAddress] property if a given string is a recognizable address, otherwise sets the [HostName] property.

Strings that contain spaces, slashes, or control characters are not accepted.

See Also


SdpConnection Class

SdpConnection Members

Microsoft.Rtc.Signaling Namespace