UrlPrefixCollection.Remove Method

Definition

Overloads

Remove(UrlPrefix)

Source:
UrlPrefixCollection.cs
Source:
UrlPrefixCollection.cs
Source:
UrlPrefixCollection.cs

Removes the first occurrence of a specific object from the ICollection<T>.

C#
public bool Remove (Microsoft.AspNetCore.Server.HttpSys.UrlPrefix item);

Parameters

item
UrlPrefix

Returns

Implements

Applies to

ASP.NET Core 9.0 and other versions
Product Versions
ASP.NET Core 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

Remove(String)

Source:
UrlPrefixCollection.cs
Source:
UrlPrefixCollection.cs
Source:
UrlPrefixCollection.cs
System.Object.Remove(System.String)
C#
public bool Remove (string prefix);

Parameters

prefix
String

Returns

Applies to

ASP.NET Core 9.0 and other versions
Product Versions
ASP.NET Core 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0