# ReferencedObjectCollection.CurrentReferenceId

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.session.referencedobjectcollection/) | [Properties](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.session.referencedobjectcollection/properties/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Serialization/Session/ReferencedObjectCollection.cs)

```csharp
public uint CurrentReferenceId
```

Gets or sets the current reference identifier.

### Value

The current reference identifier.
