Share via


QueryString.ToUriComponent Method

Provides the query string escaped in a way which is correct for combining into the URI representation. A leading '?' character will be prepended unless the Value is null or empty. Characters which are potentially dangerous are escaped.

Namespace:  Microsoft.Owin
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

Syntax

'Declaration
Public Function ToUriComponent As String
'Usage
Dim instance As QueryString 
Dim returnValue As String 

returnValue = instance.ToUriComponent()
public string ToUriComponent()
public:
String^ ToUriComponent()
member ToUriComponent : unit -> string
public function ToUriComponent() : String

Return Value

Type: System.String
The query string value.

See Also

Reference

QueryString Structure

Microsoft.Owin Namespace