PathString.Add Method

Definition

Overloads

Add(PathString)

Adds two PathString instances into a combined PathString value.

Add(QueryString)

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

Add(PathString)

Source:
PathString.cs
Source:
PathString.cs
Source:
PathString.cs

Adds two PathString instances into a combined PathString value.

C#
public Microsoft.AspNetCore.Http.PathString Add (Microsoft.AspNetCore.Http.PathString other);

Parameters

other
PathString

Returns

The combined PathString value

Applies to

ASP.NET Core 9.0 ja muut versiot
Tuote Versiot
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

Add(QueryString)

Source:
PathString.cs
Source:
PathString.cs
Source:
PathString.cs

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

C#
public string Add (Microsoft.AspNetCore.Http.QueryString other);

Parameters

other
QueryString

Returns

The joined URI formatted string value

Applies to

ASP.NET Core 9.0 ja muut versiot
Tuote Versiot
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