Share via


FeatureReference<T>.Update(IFeatureCollection, T) Method

Definition

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.

Applies to