Share via


IFeatureCollection.Get<TFeature> Method

Definition

Retrieves the requested feature from the collection.

public:
generic <typename TFeature>
 TFeature Get();
public TFeature Get<TFeature> ();
public TFeature? Get<TFeature> ();
abstract member Get : unit -> 'Feature
Public Function Get(Of TFeature) () As TFeature

Type Parameters

TFeature

The feature key.

Returns

TFeature

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

Applies to