# GrainId Properties

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.grainid/)

## IsDefault {#isdefault-d68afbd5}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.grainid/properties/isdefault-d68afbd5/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/IDs/GrainId.cs#L139)

```csharp
public bool IsDefault
```

`true` if this instance is the default value, `false` if it is not.

## Key {#key-fc5df4e2}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.grainid/properties/key-fc5df4e2/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/IDs/GrainId.cs#L49)

```csharp
public IdSpan Key
```

Gets the grain key.

## Type {#type-b3241991}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.grainid/properties/type-b3241991/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/IDs/GrainId.cs#L44)

```csharp
public GrainType Type
```

Gets the grain type.
