SdpConnection.TrySet(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
bool TrySet(System::String ^ value);
public bool TrySet (string value);
member this.TrySet : string -> bool
Public Function TrySet (value As String) As Boolean
Parameters
- value
- String
The string value to set on the connection.
Returns
Returns true if the supplied value is valid and can be set.