UrlPrefixCollection Třída
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Předpony kolekce nebo adresy URL
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)
- Dědičnost
-
UrlPrefixCollection
- Implementuje
Vlastnosti
| Count | Gets the number of elements contained in the ICollection<T>. |
| IsReadOnly |
Získá hodnotu, která určuje, jestli je tato kolekce readOnly. |
Metody
| Add(String) |
UrlPrefix Vytvoří z daného řetězce a přidá ho do této kolekce. |
| Add(UrlPrefix) |
Přidá do této kolekce.UrlPrefix |
| 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() |
Vrátí výčet, který prochází touto kolekcí. |
| Remove(String) | System.Object.Remove(System.String) |
| Remove(UrlPrefix) | Removes the first occurrence of a specific object from the ICollection<T>. |
Explicitní implementace rozhraní
| IEnumerable.GetEnumerator() |