> ## 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

取得相關聯工作階段的自訂工作階段屬性。

## 語法

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

### 參數

*handle*   \_In\_\
類型：[XblMultiplayerSearchHandle](/zh-TW/reference/live/xsapi-c/multiplayer_c/handles/xblmultiplayersearchhandle)

搜尋控制代碼詳細資料的控制代碼。

*customPropertiesJson*   \_Out\_\
類型：char\*\*

傳回自訂屬性 JSON 字串。在 XblMultiplayerSessionHandle 物件關閉之前，所傳回指標的記憶體在該物件的存留期間內都會保持有效。

### 傳回值

類型：HRESULT

此 API 作業的 HRESULT 傳回碼。

## 需求

**標頭：** multiplayer\_c.h

**程式庫：** Microsoft.Xbox.Services.14x.GDK.C.lib

## 另請參閱

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


## Related topics

- [從 MPSD 移至 PlayFab Multiplayer 與 MPA](/zh-TW/services/xbox-services/multiplayer/mpsd/concepts/live-mpsd-to-mlp.md)
- [XblMultiplayerSessionDeleteCustomPropertyJson](/zh-TW/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessiondeletecustompropertyjson.md)
- [XblMultiplayerSessionCurrentUserSetCustomPropertyJson](/zh-TW/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessioncurrentusersetcustompropertyjson.md)
- [XblMultiplayerSessionCurrentUserDeleteCustomPropertyJson](/zh-TW/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessioncurrentuserdeletecustompropertyjson.md)
- [XblMultiplayerSearchHandleGetSessionReference](/zh-TW/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersearchhandlegetsessionreference.md)
