Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PathString Structure

 

Provides correct escaping for Path and PathBase values when needed to reconstruct a request or redirect URI string

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

public value struct PathString : IEquatable<PathString>

NameDescription
System_CAPS_pubmethodPathString(String^)

Initialize the path string with a given value. This value must be in un-escaped format. Use PathString.FromUriComponent(value) if you have a path value which is in an escaped format.

NameDescription
System_CAPS_pubpropertyHasValue

True if the path is not empty

System_CAPS_pubpropertyValue

The unescaped path value

NameDescription
System_CAPS_pubmethodAdd(PathString)

Adds two PathString instances into a combined PathString value.

System_CAPS_pubmethodAdd(QueryString)

Combines a PathString and QueryString into the joined URI formatted string value.

System_CAPS_pubmethodEquals(Object^)

Compares this PathString value to another value. The default comparison is StringComparison.OrdinalIgnoreCase.(Overrides ValueType::Equals(Object^).)

System_CAPS_pubmethodEquals(PathString)

Compares this PathString value to another value. The default comparison is StringComparison.OrdinalIgnoreCase.

System_CAPS_pubmethodEquals(PathString, StringComparison)

Compares this PathString value to another value using a specific StringComparison type

System_CAPS_pubmethodSystem_CAPS_staticFromUriComponent(String^)

Returns an PathString given the path as it is escaped in the URI format. The string MUST NOT contain any value that is not a path.

System_CAPS_pubmethodSystem_CAPS_staticFromUriComponent(Uri^)

Returns an PathString given the path as from a Uri object. Relative Uri objects are not supported.

System_CAPS_pubmethodGetHashCode()

Returns the hash code for the PathString value. The hash code is provided by the OrdinalIgnoreCase implementation.(Overrides ValueType::GetHashCode().)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodStartsWithSegments(PathString)

Checks if this instance starts with or exactly matches the other instance. Only full segments are matched.

System_CAPS_pubmethodStartsWithSegments(PathString, PathString)

Checks if this instance starts with or exactly matches the other instance. Only full segments are matched.

System_CAPS_pubmethodToString()

Provides the path string escaped in a way which is correct for combining into the URI representation.(Overrides ValueType::ToString().)

System_CAPS_pubmethodToUriComponent()

Provides the path string escaped in a way which is correct for combining into the URI representation.

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticEmpty

Represents the empty path. This field is read-only.

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticAddition(PathString, PathString)

Operator call through to Add

System_CAPS_puboperatorSystem_CAPS_staticAddition(PathString, QueryString)

Operator call through to Add

System_CAPS_puboperatorSystem_CAPS_staticEquality(PathString, PathString)

Operator call through to Equals

System_CAPS_puboperatorSystem_CAPS_staticInequality(PathString, PathString)

Operator call through to Equals

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: