UrlPrefixCollection 類別

定義

集合或 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)
繼承
UrlPrefixCollection
實作

屬性

Count

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

IsReadOnly

取得值,這個值會判斷此集合是否為唯讀。

方法

Add(String)

UrlPrefix從指定的字串建立,並將它加入至這個集合。

Add(UrlPrefix)

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()

傳回可逐一查看這個集合的列舉值。

Remove(String)
Remove(UrlPrefix)

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

明確介面實作

IEnumerable.GetEnumerator()

適用於