PathString.FromUriComponent Method (Uri)
Returns a PathString given the path as from a Uri object. Relative Uri objects are not supported.
Namespace: Microsoft.Owin
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Syntax
'Declaration
Public Shared Function FromUriComponent ( _
uri As Uri _
) As PathString
'Usage
Dim uri As Uri
Dim returnValue As PathString
returnValue = PathString.FromUriComponent(uri)
public static PathString FromUriComponent(
Uri uri
)
public:
static PathString FromUriComponent(
Uri^ uri
)
static member FromUriComponent :
uri:Uri -> PathString
public static function FromUriComponent(
uri : Uri
) : PathString
Parameters
- uri
Type: System.Uri
The Uri object.
Return Value
Type: Microsoft.Owin.PathString
The resulting PathString.