# TypedValueWithMetadata

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.TypedValueWithMetadata/

A typed value. Typically used to represent the value of a property or an evaluated expression.

- **Full name:** `MFiles.TypedValueWithMetadata`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-type"></a>`type` | [`Datatype`](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.Datatype/index.md) | 1 | Data type. Note. Name of the property can't be isNull because name collision with Objective-C reserved name. |
| <a id="f-is_null_value"></a>`is_null_value` | `bool` | 2 | Is the value unset. |
| <a id="f-data"></a>`data` | [`TypedValueUnionWithMetadata`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.TypedValueUnionWithMetadata/index.md) | 3 | The value data as a union, if set. |
| <a id="f-value_metadata"></a>`value_metadata` | [`TypedValueMetadata`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.TypedValueMetadata/index.md) | 4 | The metadata about the typed value. If the value is a Lookup or MSLookup, this data will be in that struct. |

<a id="used-in-fields"></a>

## Used in fields

- [`PropertyValueWithMetadata.value`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.PropertyValueWithMetadata/index.md#f-value): The value of the property.
