Share via


FeatureReference<T>.Fetch(IFeatureCollection) Method

Definition

Gets the feature of type T from features.

public:
 T Fetch(Microsoft::AspNetCore::Http::Features::IFeatureCollection ^ features);
public T Fetch (Microsoft.AspNetCore.Http.Features.IFeatureCollection features);
public T? Fetch (Microsoft.AspNetCore.Http.Features.IFeatureCollection features);
member this.Fetch : Microsoft.AspNetCore.Http.Features.IFeatureCollection -> 'T
Public Function Fetch (features As IFeatureCollection) As T

Parameters

Returns

T

The feature.

Applies to