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

# PFLobbyGetMemberPropertyKeys

> PlayFab Multiplayer C++ SDK API を使用して、PlayFab ロビー上のメンバーのカスタム プロパティ キーを列挙するための PFLobbyGetMemberPropertyKeys リファレンス。

指定したメンバーのプロパティ キーの一覧を取得します。

## 構文

```cpp theme={null}
HRESULT PFLobbyGetMemberPropertyKeys(  
    PFLobbyHandle lobby,  
    const PFEntityKey* member,  
    uint32_t* propertyCount,  
    const char* const** keys  
)  
```

### パラメーター

**`lobby`**   PFLobbyHandle

ロビーのハンドル。

**`member`**   [PFEntityKey\*](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmultiplayer/pfentitykey_clientsdk.md)

照会対象のメンバー。

**`propertyCount`**   uint32\_t\*\
*出力*

メンバー プロパティの出力カウント。

**`keys`**   char\* const\*\*\
*ライブラリが割り当てる `*propertyCount` サイズの出力配列*

メンバー プロパティ キーの出力配列。

### 戻り値

型: HRESULT

呼び出しが成功した場合は `S_OK`、それ以外の場合はエラー コード。エラー コードの人間が判読可能な形式は、[PFMultiplayerGetErrorMessage()](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmultiplayer/functions/pfmultiplayergeterrormessage.md) を通じて取得できます。

## 解説

メンバー単位のプロパティは、ロビーのメンバー、およびサーバー所有ロビーの場合はサーバーからのみ参照できます。\
\
&#x20;メンバーが [PFMultiplayerCreateAndJoinLobby()](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pfmultiplayercreateandjoinlobby.md)、[PFMultiplayerJoinLobby()](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pfmultiplayerjoinlobby.md)、または [PFLobbyAddMember](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbyaddmember.md) を介してまだ非同期にロビーに参加処理中である場合、このメソッドはキーを返しません。

## 要件

**ヘッダー:** PFLobby.h

## 関連項目

[PFLobby メンバー](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/pflobby_members.md)


## Related topics

- [PFMultiplayer C/C++ API の概要 - PFLobby.h](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/pflobby_members.md)
- [Lobby.GetMemberProperties](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/GetMemberProperties.md)
- [PFLobbyGetMemberProperty](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbygetmemberproperty.md)
- [LobbyMemberUpdateSummary.UpdatedMemberPropertyKeys](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/LobbyMemberUpdateSummary/UpdatedMemberPropertyKeys.md)
- [PFLobbyGetLobbyPropertyKeys](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbygetlobbypropertykeys.md)
