FeatureExtensions.GetRequired<TFeature>(IFeatureCollection) Method

Definition

Gets a required feature from the supplied collection.

public static TFeature GetRequired<TFeature> (this DocumentFormat.OpenXml.Features.IFeatureCollection features);
static member GetRequired : DocumentFormat.OpenXml.Features.IFeatureCollection -> 'Feature
<Extension()>
Public Function GetRequired(Of TFeature) (features As IFeatureCollection) As TFeature

Type Parameters

TFeature

Feature type.

Parameters

features
IFeatureCollection

Features collection to search.

Returns

TFeature

The available feature.

Applies to