UrlPrefixCollection.Add Method
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.
Add(UrlPrefix) |
Adds a UrlPrefix to this collection. |
Add(String) |
Creates a UrlPrefix from the given string, and adds it to this collection. |
- Source:
- UrlPrefixCollection.cs
- Source:
- UrlPrefixCollection.cs
- Source:
- UrlPrefixCollection.cs
Adds a UrlPrefix to this collection.
public:
virtual void Add(Microsoft::AspNetCore::Server::HttpSys::UrlPrefix ^ item);
C#
public void Add (Microsoft.AspNetCore.Server.HttpSys.UrlPrefix item);
abstract member Add : Microsoft.AspNetCore.Server.HttpSys.UrlPrefix -> unit
override this.Add : Microsoft.AspNetCore.Server.HttpSys.UrlPrefix -> unit
Public Sub Add (item As UrlPrefix)
Parameters
- item
- UrlPrefix
The prefix to add to this collection.
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 |
- Source:
- UrlPrefixCollection.cs
- Source:
- UrlPrefixCollection.cs
- Source:
- UrlPrefixCollection.cs
Creates a UrlPrefix from the given string, and adds it to this collection.
public:
void Add(System::String ^ prefix);
C#
public void Add (string prefix);
member this.Add : string -> unit
Public Sub Add (prefix As String)
Parameters
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 |