# PROPERTYDEFFLAGS

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.PROPERTYDEFFLAGS/

Property definition flags (bitfields).

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

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

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-all"></a>`all` | `bool` | 1 | Specifies all flags set; Including any future flags. |
| <a id="f-can_use_in_search"></a>`can_use_in_search` | `bool` | 2 | Are objects searchable by this property? |
| <a id="f-can_use_in_history_search"></a>`can_use_in_history_search` | `bool` | 3 | Are history versions of objects searchable by this property? |
| <a id="f-show_only_filtered_values"></a>`show_only_filtered_values` | `bool` | 4 | Should only the values matching the property filter be shown on the metadata card? |

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

## Used in fields

- [`PropertyDef.options`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.PropertyDef/index.md#f-options): Flags such as `can_use_in_search`. See [PROPERTYDEFFLAGS](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.PROPERTYDEFFLAGS/index.md).
