# FeatureCollection Indexers

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.connections.transport.featurecollection/)

## this[Type] {#this-system-type-0cb2faa1}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.connections.transport.featurecollection/indexers/this-system-type-0cb2faa1/)

```csharp
public object? this[Type key]
```

Gets or sets a given feature. Setting a null value removes the feature.

### Parameters

- `key` (`Type`)

### Returns

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