UrlPrefixCollection.Add Method

Definition

Overloads

Add(UrlPrefix)

Adds a UrlPrefix to this collection.

Add(String)

Creates a UrlPrefix from the given string, and adds it to this collection.

Add(UrlPrefix)

Source:
UrlPrefixCollection.cs
Source:
UrlPrefixCollection.cs

Adds a UrlPrefix to this collection.

public:
 virtual void Add(Microsoft::AspNetCore::Server::HttpSys::UrlPrefix ^ item);
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

Add(String)

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);
public void Add (string prefix);
member this.Add : string -> unit
Public Sub Add (prefix As String)

Parameters

prefix
String

The string representing the UrlPrefix to add to this collection.

Applies to