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 ArrayValue : IMessage<ArrayValue>, IEquatable<ArrayValue>, IDeepCloneable<ArrayValue>, IBufferMessage, IMessage

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

An array value.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue), [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

### ArrayValue()

    public ArrayValue()

### ArrayValue(ArrayValue)

    public ArrayValue(ArrayValue other)

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

## Properties

### Values

    public RepeatedField<Value> Values { get; }

Values in the array.
The order of values in an array is preserved as long as all values have
identical settings for 'exclude_from_indexes'.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value` |   |

## Operators

### explicit operator ArrayValue\[\](ArrayValue)

    public static explicit operator ArrayValue[](ArrayValue arrayValue)

Converts an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) to an array. Each value within `arrayValue` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual explicit conversion. Any [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) elements with a kind of
Null are converted to null values in the resulting array.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `arrayValue` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` The array value to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` | An array with converted values, or `null` if `arrayValue` is null. |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.invalidoperationexception` | An element in the array value does not have the expected kind. |

### explicit operator Entity\[\](ArrayValue)

    public static explicit operator Entity[](ArrayValue arrayValue)

Converts an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) to an array. Each value within `arrayValue` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual explicit conversion. Any [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) elements with a kind of
Null are converted to null values in the resulting array.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `arrayValue` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` The array value to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Entity` | An array with converted values, or `null` if `arrayValue` is null. |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.invalidoperationexception` | An element in the array value does not have the expected kind. |

### explicit operator Key\[\](ArrayValue)

    public static explicit operator Key[](ArrayValue arrayValue)

Converts an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) to an array. Each value within `arrayValue` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual explicit conversion. Any [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) elements with a kind of
Null are converted to null values in the resulting array.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `arrayValue` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` The array value to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Key` | An array with converted values, or `null` if `arrayValue` is null. |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.invalidoperationexception` | An element in the array value does not have the expected kind. |

### explicit operator Value\[\](ArrayValue)

    public static explicit operator Value[](ArrayValue arrayValue)

Converts an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) to an array. Each value within `arrayValue` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual explicit conversion. Any [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) elements with a kind of
Null are converted to null values in the resulting array.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `arrayValue` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` The array value to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value` | An array with converted values, or `null` if `arrayValue` is null. |

### explicit operator ByteString\[\](ArrayValue)

    public static explicit operator ByteString[](ArrayValue arrayValue)

Converts an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) to an array. Each value within `arrayValue` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual explicit conversion. Any [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) elements with a kind of
Null are converted to null values in the resulting array.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `arrayValue` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` The array value to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.ByteString.html` | An array with converted values, or `null` if `arrayValue` is null. |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.invalidoperationexception` | An element in the array value does not have the expected kind. |

### explicit operator Timestamp\[\](ArrayValue)

    public static explicit operator Timestamp[](ArrayValue arrayValue)

Converts an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) to an array. Each value within `arrayValue` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual explicit conversion. Any [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) elements with a kind of
Null are converted to null values in the resulting array.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `arrayValue` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` The array value to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` | An array with converted values, or `null` if `arrayValue` is null. |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.invalidoperationexception` | An element in the array value does not have the expected kind. |

### explicit operator LatLng\[\](ArrayValue)

    public static explicit operator LatLng[](ArrayValue arrayValue)

Converts an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) to an array. Each value within `arrayValue` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual explicit conversion. Any [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) elements with a kind of
Null are converted to null values in the resulting array.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `arrayValue` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` The array value to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Type.LatLng.html` | An array with converted values, or `null` if `arrayValue` is null. |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.invalidoperationexception` | An element in the array value does not have the expected kind. |

### explicit operator bool\[\](ArrayValue)

    public static explicit operator bool[](ArrayValue arrayValue)

Converts an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) to an array. Each value within `arrayValue` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual explicit conversion.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `arrayValue` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` The array value to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` | An array with converted values, or `null` if `arrayValue` is null. |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.invalidoperationexception` | An element in the array value does not have the expected kind. |

### explicit operator byte\[\]\[\](ArrayValue)

    public static explicit operator byte[][](ArrayValue arrayValue)

Converts an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) to an array. Each value within `arrayValue` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual explicit conversion. Any [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) elements with a kind of
Null are converted to null values in the resulting array.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `arrayValue` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` The array value to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `System.Byte` | An array with converted values, or `null` if `arrayValue` is null. |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.invalidoperationexception` | An element in the array value does not have the expected kind. |

### explicit operator DateTimeOffset\[\](ArrayValue)

    public static explicit operator DateTimeOffset[](ArrayValue arrayValue)

Converts an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) to an array. Each value within `arrayValue` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual explicit conversion.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `arrayValue` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` The array value to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.datetimeoffset` | An array with converted values, or `null` if `arrayValue` is null. |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.invalidoperationexception` | An element in the array value does not have the expected kind. |

### explicit operator DateTime\[\](ArrayValue)

    public static explicit operator DateTime[](ArrayValue arrayValue)

Converts an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) to an array. Each value within `arrayValue` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual explicit conversion.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `arrayValue` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` The array value to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.datetime` | An array with converted values, or `null` if `arrayValue` is null. |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.invalidoperationexception` | An element in the array value does not have the expected kind. |

### explicit operator double\[\](ArrayValue)

    public static explicit operator double[](ArrayValue arrayValue)

Converts an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) to an array. Each value within `arrayValue` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual explicit conversion.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `arrayValue` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` The array value to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.double` | An array with converted values, or `null` if `arrayValue` is null. |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.invalidoperationexception` | An element in the array value does not have the expected kind. |

### explicit operator long\[\](ArrayValue)

    public static explicit operator long[](ArrayValue arrayValue)

Converts an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) to an array. Each value within `arrayValue` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual explicit conversion.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `arrayValue` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` The array value to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int64` | An array with converted values, or `null` if `arrayValue` is null. |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.invalidoperationexception` | An element in the array value does not have the expected kind. |

### explicit operator bool?\[\](ArrayValue)

    public static explicit operator bool?[](ArrayValue arrayValue)

Converts an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) to an array. Each value within `arrayValue` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual explicit conversion. Any [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) elements with a kind of
Null are converted to null values in the resulting array.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `arrayValue` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` The array value to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` | An array with converted values, or `null` if `arrayValue` is null. |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.invalidoperationexception` | An element in the array value does not have the expected kind. |

### explicit operator DateTimeOffset?\[\](ArrayValue)

    public static explicit operator DateTimeOffset?[](ArrayValue arrayValue)

Converts an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) to an array. Each value within `arrayValue` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual explicit conversion. Any [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) elements with a kind of
Null are converted to null values in the resulting array.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `arrayValue` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` The array value to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.datetimeoffset` | An array with converted values, or `null` if `arrayValue` is null. |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.invalidoperationexception` | An element in the array value does not have the expected kind. |

### explicit operator DateTime?\[\](ArrayValue)

    public static explicit operator DateTime?[](ArrayValue arrayValue)

Converts an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) to an array. Each value within `arrayValue` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual explicit conversion. Any [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) elements with a kind of
Null are converted to null values in the resulting array.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `arrayValue` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` The array value to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.datetime` | An array with converted values, or `null` if `arrayValue` is null. |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.invalidoperationexception` | An element in the array value does not have the expected kind. |

### explicit operator double?\[\](ArrayValue)

    public static explicit operator double?[](ArrayValue arrayValue)

Converts an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) to an array. Each value within `arrayValue` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual explicit conversion. Any [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) elements with a kind of
Null are converted to null values in the resulting array.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `arrayValue` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` The array value to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.double` | An array with converted values, or `null` if `arrayValue` is null. |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.invalidoperationexception` | An element in the array value does not have the expected kind. |

### explicit operator long?\[\](ArrayValue)

    public static explicit operator long?[](ArrayValue arrayValue)

Converts an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) to an array. Each value within `arrayValue` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual explicit conversion. Any [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) elements with a kind of
Null are converted to null values in the resulting array.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `arrayValue` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` The array value to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int64` | An array with converted values, or `null` if `arrayValue` is null. |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.invalidoperationexception` | An element in the array value does not have the expected kind. |

### explicit operator string\[\](ArrayValue)

    public static explicit operator string[](ArrayValue arrayValue)

Converts an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) to an array. Each value within `arrayValue` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual explicit conversion. Any [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) elements with a kind of
Null are converted to null values in the resulting array.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `arrayValue` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` The array value to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` | An array with converted values, or `null` if `arrayValue` is null. |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.invalidoperationexception` | An element in the array value does not have the expected kind. |

### implicit operator ArrayValue(ArrayValue\[\])

    public static implicit operator ArrayValue(ArrayValue[] values)

Converts an array to an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) instance. Each value within `values` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual implicit conversion. Any null input values are converted
to instances of [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) with a kind of Null.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `values` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` The array to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` | An [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) with converted values, or `null` if `values` is null. |

### implicit operator ArrayValue(Entity\[\])

    public static implicit operator ArrayValue(Entity[] values)

Converts an array to an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) instance. Each value within `values` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual implicit conversion. Any null input values are converted
to instances of [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) with a kind of Null.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `values` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Entity` The array to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` | An [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) with converted values, or `null` if `values` is null. |

### implicit operator ArrayValue(Key\[\])

    public static implicit operator ArrayValue(Key[] values)

Converts an array to an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) instance. Each value within `values` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual implicit conversion. Any null input values are converted
to instances of [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) with a kind of Null.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `values` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Key` The array to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` | An [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) with converted values, or `null` if `values` is null. |

### implicit operator ArrayValue(Value\[\])

    public static implicit operator ArrayValue(Value[] values)

Converts an array to an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) instance. Any null input values are converted
to instances of [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) with a kind of Null.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `values` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value` The array to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` | An [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) with converted values, or `null` if `values` is null. |

### implicit operator ArrayValue(ByteString\[\])

    public static implicit operator ArrayValue(ByteString[] values)

Converts an array to an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) instance. Each value within `values` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual implicit conversion. Any null input values are converted
to instances of [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) with a kind of Null.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `values` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.ByteString.html` The array to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` | An [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) with converted values, or `null` if `values` is null. |

### implicit operator ArrayValue(Timestamp\[\])

    public static implicit operator ArrayValue(Timestamp[] values)

Converts an array to an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) instance. Each value within `values` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual implicit conversion. Any null input values are converted
to instances of [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) with a kind of Null.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `values` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` The array to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` | An [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) with converted values, or `null` if `values` is null. |

### implicit operator ArrayValue(LatLng\[\])

    public static implicit operator ArrayValue(LatLng[] values)

Converts an array to an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) instance. Each value within `values` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual implicit conversion. Any null input values are converted
to instances of [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) with a kind of Null.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `values` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Type.LatLng.html` The array to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` | An [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) with converted values, or `null` if `values` is null. |

### implicit operator ArrayValue(bool\[\])

    public static implicit operator ArrayValue(bool[] values)

Converts an array to an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) instance. Each value within `values` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual implicit conversion.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `values` | `https://learn.microsoft.com/dotnet/api/system.boolean` The array to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` | An [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) with converted values, or `null` if `values` is null. |

### implicit operator ArrayValue(byte\[\]\[\])

    public static implicit operator ArrayValue(byte[][] values)

Converts an array to an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) instance. Each value within `values` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual implicit conversion. Any null input values are converted
to instances of [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) with a kind of Null.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `values` | `System.Byte` The array to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` | An [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) with converted values, or `null` if `values` is null. |

### implicit operator ArrayValue(DateTimeOffset\[\])

    public static implicit operator ArrayValue(DateTimeOffset[] values)

Converts an array to an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) instance. Each value within `values` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual implicit conversion.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `values` | `https://learn.microsoft.com/dotnet/api/system.datetimeoffset` The array to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` | An [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) with converted values, or `null` if `values` is null. |

### implicit operator ArrayValue(DateTime\[\])

    public static implicit operator ArrayValue(DateTime[] values)

Converts an array to an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) instance. Each value within `values` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual implicit conversion.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `values` | `https://learn.microsoft.com/dotnet/api/system.datetime` The array to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` | An [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) with converted values, or `null` if `values` is null. |

### implicit operator ArrayValue(double\[\])

    public static implicit operator ArrayValue(double[] values)

Converts an array to an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) instance. Each value within `values` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual implicit conversion.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `values` | `https://learn.microsoft.com/dotnet/api/system.double` The array to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` | An [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) with converted values, or `null` if `values` is null. |

### implicit operator ArrayValue(long\[\])

    public static implicit operator ArrayValue(long[] values)

Converts an array to an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) instance. Each value within `values` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual implicit conversion.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `values` | `https://learn.microsoft.com/dotnet/api/system.int64` The array to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` | An [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) with converted values, or `null` if `values` is null. |

### implicit operator ArrayValue(bool?\[\])

    public static implicit operator ArrayValue(bool?[] values)

Converts an array to an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) instance. Each value within `values` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual implicit conversion. Any null input values are converted
to instances of [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) with a kind of Null.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `values` | `https://learn.microsoft.com/dotnet/api/system.boolean` The array to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` | An [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) with converted values, or `null` if `values` is null. |

### implicit operator ArrayValue(DateTimeOffset?\[\])

    public static implicit operator ArrayValue(DateTimeOffset?[] values)

Converts an array to an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) instance. Each value within `values` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual implicit conversion. Any null input values are converted
to instances of [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) with a kind of Null.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `values` | `https://learn.microsoft.com/dotnet/api/system.datetimeoffset` The array to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` | An [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) with converted values, or `null` if `values` is null. |

### implicit operator ArrayValue(DateTime?\[\])

    public static implicit operator ArrayValue(DateTime?[] values)

Converts an array to an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) instance. Each value within `values` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual implicit conversion. Any null input values are converted
to instances of [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) with a kind of Null.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `values` | `https://learn.microsoft.com/dotnet/api/system.datetime` The array to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` | An [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) with converted values, or `null` if `values` is null. |

### implicit operator ArrayValue(double?\[\])

    public static implicit operator ArrayValue(double?[] values)

Converts an array to an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) instance. Each value within `values` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual implicit conversion. Any null input values are converted
to instances of [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) with a kind of Null.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `values` | `https://learn.microsoft.com/dotnet/api/system.double` The array to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` | An [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) with converted values, or `null` if `values` is null. |

### implicit operator ArrayValue(long?\[\])

    public static implicit operator ArrayValue(long?[] values)

Converts an array to an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) instance. Each value within `values` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual implicit conversion. Any null input values are converted
to instances of [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) with a kind of Null.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `values` | `https://learn.microsoft.com/dotnet/api/system.int64` The array to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` | An [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) with converted values, or `null` if `values` is null. |

### implicit operator ArrayValue(string\[\])

    public static implicit operator ArrayValue(string[] values)

Converts an array to an [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) instance. Each value within `values` is converted
to a [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) using the individual implicit conversion. Any null input values are converted
to instances of [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value) with a kind of Null.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `values` | `https://learn.microsoft.com/dotnet/api/system.string` The array to convert. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue` | An [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue) with converted values, or `null` if `values` is null. |