Skip to content

IFeatureCollection Methods

Represents a collection of typed features.

Get

abstract
public abstract TFeature? Get<TFeature>()
Retrieves the requested feature from the collection.

Returns

The requested feature, or null if it is not present.

Set(TFeature?)

abstract
public abstract void Set<TFeature>(TFeature? instance)
Sets the given feature in the collection.

Parameters

instanceTFeature?
The feature value.