Converts the specified string to a Uri.
Namespace:
Sfs2X.WebSocketSharp
Assembly:
SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax public static Uri ToUri(
this string value
)
Parameters
- value
- Type: SystemString
A String to convert.
Return Value
Type:
Uri
A Uri converted from value.
if the conversion has failed.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also