Share via


FeatureCollectionExtensions Class

Definition

Extension methods for getting feature from IFeatureCollection

public static class FeatureCollectionExtensions
type FeatureCollectionExtensions = class
Public Module FeatureCollectionExtensions
Inheritance
FeatureCollectionExtensions

Methods

GetRequiredFeature(IFeatureCollection, Type)

Retrieves the requested feature from the collection. Throws an InvalidOperationException if the feature is not present.

GetRequiredFeature<TFeature>(IFeatureCollection)

Retrieves the requested feature from the collection. Throws an InvalidOperationException if the feature is not present.

Applies to