5.2.0 (latest) 5.1.0 5.0.0 4.17.0 4.16.0 4.15.0 4.14.0 4.13.0 4.12.0 4.11.0 4.10.0 4.9.0 4.8.0 4.7.0 4.6.0 4.5.0 4.4.0 4.3.0 4.2.0 4.1.0 4.0.0 3.5.0 3.4.0 3.3.0 3.2.0

    public sealed class PropertyReference : IMessage<PropertyReference>, IEquatable<PropertyReference>, IDeepCloneable<PropertyReference>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Datastore v1 API class PropertyReference.

A reference to a property relative to the kind expressions.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> PropertyReference

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PropertyReference](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.PropertyReference), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PropertyReference](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.PropertyReference), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PropertyReference](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.PropertyReference), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Datastore.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1)

## Assembly

Google.Cloud.Datastore.V1.dll

## Constructors

### PropertyReference()

    public PropertyReference()

### PropertyReference(PropertyReference)

    public PropertyReference(PropertyReference other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.PropertyReference` |

### PropertyReference(string)

    public PropertyReference(string propertyName)

Creates a property reference for the given name.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `propertyName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of the property. |

## Properties

### Name

    public string Name { get; set; }

A reference to a property.

Requires:

- MUST be a dot-delimited (`.`) string of segments, where each segment conforms to \[entity property name\]\[google.datastore.v1.Entity.properties\] limitations.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |