> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XblMultiplayerSearchHandleGetCustomSessionPropertiesJson

> XblMultiplayerSearchHandleGetCustomSessionPropertiesJson

# XblMultiplayerSearchHandleGetCustomSessionPropertiesJson

Get the custom session properties for the associated session.

## Syntax

```cpp theme={null}
HRESULT XblMultiplayerSearchHandleGetCustomSessionPropertiesJson(  
         XblMultiplayerSearchHandle handle,  
         const char** customPropertiesJson  
)  
```

### Parameters

*handle*   \_In\_\
Type: [XblMultiplayerSearchHandle](/reference/live/xsapi-c/multiplayer_c/handles/xblmultiplayersearchhandle)

Handle to the search handle details.

*customPropertiesJson*   \_Out\_\
Type: char\*\*

Passes back the custom properties JSON string. The memory for the returned pointer will remain valid for the life of the XblMultiplayerSessionHandle object until it is closed.

### Return value

Type: HRESULT

HRESULT return code for this API operation.

## Requirements

**Header:** multiplayer\_c.h

**Library:** Microsoft.Xbox.Services.14x.GDK.C.lib

## See also

[multiplayer\_c](/reference/live/xsapi-c/multiplayer_c/multiplayer_c_members)


## Related topics

- [Moving from MPSD to PlayFab Multiplayer and MPA](/services/xbox-services/multiplayer/mpsd/concepts/live-mpsd-to-mlp.md)
- [XblMultiplayerSessionDeleteCustomPropertyJson](/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessiondeletecustompropertyjson.md)
- [XblMultiplayerSessionCurrentUserSetCustomPropertyJson](/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessioncurrentusersetcustompropertyjson.md)
- [XblMultiplayerSessionCurrentUserDeleteCustomPropertyJson](/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessioncurrentuserdeletecustompropertyjson.md)
- [XblMultiplayerSearchHandleGetSessionClosed](/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersearchhandlegetsessionclosed.md)
