IFeatureCollection Interface
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a collection of HTTP features.
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))
- Derived
- Implements
Is |
Indicates if the collection can be modified. |
Item[Type] |
Gets or sets a given feature. Setting a null value removes the feature. |
Revision |
Incremented for each modification and can be used to verify cached results. |
Get<TFeature>() |
Retrieves the requested feature from the collection. |
Set<TFeature>(TFeature) |
Sets the given feature in the collection. |
Get |
Retrieves the requested feature from the collection. Throws an InvalidOperationException if the feature is not present. |
Get |
Retrieves the requested feature from the collection. Throws an InvalidOperationException if the feature is not present. |
Product | Versions |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |