# IGrainPropertiesProvider Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.metadata.igrainpropertiesprovider/)

## Populate(Type, GrainType, Dictionary&lt;string, string&gt;) {#populate-system-type-orleans-runtime-graintype-system-collections-generic-dictio-a179c5a3}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.metadata.igrainpropertiesprovider/methods/populate-system-type-orleans-runtime-graintype-system-collections-generic-dictio-a179c5a3/)

```csharp
public abstract void Populate(Type grainClass, GrainType grainType, Dictionary<string, string> properties)
```

Adds grain properties to `properties`.

### Parameters

- `grainClass` (`Type`): The grain class.
- `grainType` (`GrainType`): The grain type id.
- `properties` (`Dictionary<string, string>`): The properties collection which calls to this method should populate.
