FeatureReference<T>.Update(IFeatureCollection, T) Method
Definition
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.
Updates the reference to the feature.
public:
T Update(Microsoft::AspNetCore::Http::Features::IFeatureCollection ^ features, T feature);
public T Update (Microsoft.AspNetCore.Http.Features.IFeatureCollection features, T feature);
member this.Update : Microsoft.AspNetCore.Http.Features.IFeatureCollection * 'T -> 'T
Public Function Update (features As IFeatureCollection, feature As T) As T
Parameters
- features
- IFeatureCollection
The IFeatureCollection to update.
- feature
- T
The instance of the feature.
Returns
T
A reference to feature
after the operation has completed.