QueryString Structure
Provides correct handling for QueryString value when needed to reconstruct a request or redirect URI string.
Namespace: Microsoft.Owin
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Syntax
'Declaration
Public Structure QueryString _
Implements IEquatable(Of QueryString)
'Usage
Dim instance As QueryString
public struct QueryString : IEquatable<QueryString>
public value class QueryString : IEquatable<QueryString>
[<SealedAttribute>]
type QueryString =
struct
interface IEquatable<QueryString>
end
JScript suports the use of structures, but not the declaration of new ones.
The QueryString type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
QueryString(String) | Initialize the query string with a given value. This value must be in escaped and delimited format without a leading '?' character. |
![]() |
QueryString(String, String) | Initialize a query string with a single given parameter name and value. The value is. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
HasValue | True if the query string is not empty. |
![]() |
Value | The unescaped query string without the leading '?' character. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals(Object) | (Overrides ValueType.Equals(Object).) |
![]() |
Equals(QueryString) | |
![]() ![]() |
FromUriComponent(String) | Returns a PathString given the path as it is escaped in the URI format. The string MUST NOT contain any value that is not a path. |
![]() ![]() |
FromUriComponent(Uri) | Returns a PathString given the path as from a Uri object. Relative Uri objects are not supported. |
![]() |
GetHashCode | (Overrides ValueType.GetHashCode().) |
![]() |
GetType | (Inherited from Object.) |
![]() |
ToString | 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. (Overrides ValueType.ToString().) |
![]() |
ToUriComponent | 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. |
Top
Operators
Name | Description | |
---|---|---|
![]() ![]() |
Equality | |
![]() ![]() |
Inequality |
Top
Fields
Name | Description | |
---|---|---|
![]() ![]() |
Empty | Represents the empty query string. This field is read-only. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.