FragmentString Struct
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides correct handling for FragmentString value when needed to generate a URI string
public value class FragmentString : IEquatable<Microsoft::AspNetCore::Http::FragmentString>
public struct FragmentString : IEquatable<Microsoft.AspNetCore.Http.FragmentString>
public readonly struct FragmentString : IEquatable<Microsoft.AspNetCore.Http.FragmentString>
type FragmentString = struct
Public Structure FragmentString
Implements IEquatable(Of FragmentString)
- Inheritance
-
FragmentString
- Implements
Fragment |
Initialize the fragment string with a given value. This value must be in escaped and delimited format with a leading '#' character. |
Empty |
Represents the empty fragment string. This field is read-only. |
Has |
True if the fragment string is not empty |
Value |
The escaped fragment string with the leading '#' character |
Equals(Fragment |
Evaluates if the current fragment is equal to another fragment |
Equals(Object) |
Evaluates if the current fragment is equal to an object |
From |
Returns an FragmentString given the fragment as it is escaped in the URI format. The string MUST NOT contain any value that is not a fragment. |
From |
Returns an FragmentString given the fragment as from a Uri object. Relative Uri objects are not supported. |
Get |
Gets a hash code for the value. |
To |
Provides the fragment string escaped in a way which is correct for combining into the URI representation. A leading '#' character will be included unless the Value is null or empty. Characters which are potentially dangerous are escaped. |
To |
Provides the fragment string escaped in a way which is correct for combining into the URI representation. A leading '#' character will be included unless the Value is null or empty. Characters which are potentially dangerous are escaped. |
Equality(Fragment |
Evaluates if one fragment is equal to another. |
Inequality(Fragment |
Evalutes if one fragment is not equal to another. |
Продукт | Версии |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |