UrlPrefixCollection Class

Definition

A collection or URL prefixes

public ref class UrlPrefixCollection : System::Collections::Generic::ICollection<Microsoft::AspNetCore::Server::HttpSys::UrlPrefix ^>, System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Server::HttpSys::UrlPrefix ^>
public class UrlPrefixCollection : System.Collections.Generic.ICollection<Microsoft.AspNetCore.Server.HttpSys.UrlPrefix>, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Server.HttpSys.UrlPrefix>
type UrlPrefixCollection = class
    interface ICollection<UrlPrefix>
    interface seq<UrlPrefix>
    interface IEnumerable
Public Class UrlPrefixCollection
Implements ICollection(Of UrlPrefix), IEnumerable(Of UrlPrefix)
Inheritance
UrlPrefixCollection
Implements

Properties

Count

Gets the number of elements contained in the ICollection<T>.

IsReadOnly

Gets a value that determines if this collection is readOnly.

Methods

Add(String)

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

Add(UrlPrefix)

Adds a UrlPrefix to this collection.

Clear()

Removes all items from the ICollection<T>.

Contains(UrlPrefix)

Determines whether the ICollection<T> contains a specific value.

CopyTo(UrlPrefix[], Int32)

Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.

GetEnumerator()

Returns an enumerator that iterates through this collection.

Remove(String) System.Object.Remove(System.String)
Remove(UrlPrefix)

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

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Applies to