IFeatureCollection 介面

定義

表示 HTTP 功能的集合。

public interface class IFeatureCollection : System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<Type ^, System::Object ^>>
public interface IFeatureCollection : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<Type,object>>
type IFeatureCollection = interface
    interface seq<KeyValuePair<Type, obj>>
    interface IEnumerable
Public Interface IFeatureCollection
Implements IEnumerable(Of KeyValuePair(Of Type, Object))
衍生
實作

屬性

IsReadOnly

指出是否可以修改集合。

Item[Type]

取得或設定指定的功能。 設定 Null 值會移除此功能。

Revision

針對每個修改遞增,可用來驗證快取的結果。

方法

Get<TFeature>()

從集合擷取要求的功能。

Set<TFeature>(TFeature)

設定集合中的指定功能。

擴充方法

GetRequiredFeature(IFeatureCollection, Type)

從集合重試所要求的功能。 如果功能不存在,則會擲回 InvalidOperationException

GetRequiredFeature<TFeature>(IFeatureCollection)

從集合重試所要求的功能。 如果功能不存在,則會擲回 InvalidOperationException

適用於