Dela via


PathString(String) Constructor

Definition

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

public:
 PathString(System::String ^ value);
public PathString (string value);
public PathString (string? value);
new Microsoft.AspNetCore.Http.PathString : string -> Microsoft.AspNetCore.Http.PathString
Public Sub New (value As String)

Parameters

value
String

The unescaped path to be assigned to the Value property.

Applies to