# PinnedObject

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

Struct for Pinned object.

- **Full name:** `MFiles.PinnedObject`
- **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-search_results_item"></a>`search_results_item` | [`SearchResultsItem`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.SearchResultsItem/index.md) | 1 | The search result item. |
| <a id="f-pinned_item_id"></a>`pinned_item_id` | `string` | 2 | The pinned item id is the guid key referencing this item in pinboard. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCSearch.GetFolderContentsOfPinboard](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSearch/GetFolderContentsOfPinboard/index.md): Gets the contents of the Pinboard items.

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

## Used in fields

- [`GetFolderContentsOfPinboardResponse.objects`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSearch/GetFolderContentsOfPinboard/index.md#response): Resulting objects.
