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

# XblSocialRelationshipFilter

> XblSocialRelationshipFilter

# XblSocialRelationshipFilter

ソーシャル グループで使用できるリレーションシップ フィルターを定義します。

## 構文

```cpp theme={null}
enum class XblSocialRelationshipFilter  : uint32_t  
{  
    All,  
    Favorite,  
    LegacyXboxLiveFriends  
}  
```

## 定数

| 定数                    | 説明                                                    |
| --------------------- | ----------------------------------------------------- |
| All                   | ユーザーのピープル リストにあるすべての人。                                |
| Favorite              | ユーザーのピープル リスト内で "お気に入り" 属性が関連付けられている人のみにフィルターします。     |
| LegacyXboxLiveFriends | ユーザーのピープル リストのうち、レガシー XBOX Live フレンドでもある人のみにフィルターします。 |

## 使用される引数

[XblSocialGetSocialRelationshipsAsync](/reference/live/xsapi-c/social_c/functions/xblsocialgetsocialrelationshipsasync)

## 要件

**ヘッダー:** social\_c.h

## 関連項目

[social\_c](/reference/live/xsapi-c/social_c/social_c_members)


## Related topics

- [XblSocialGetSocialRelationshipsAsync](/ja-jp/reference/live/xsapi-c/social_c/functions/xblsocialgetsocialrelationshipsasync.md)
- [XblRelationshipFilter](/ja-jp/reference/live/xsapi-c/social_manager_c/enums/xblrelationshipfilter.md)
- [XblSocialManagerUserGroupGetFilters](/ja-jp/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagerusergroupgetfilters.md)
- [XblSocialManagerCreateSocialUserGroupFromFilters](/ja-jp/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagercreatesocialusergroupfromfilters.md)
- [XblSocialRelationship](/ja-jp/reference/live/xsapi-c/social_c/structs/xblsocialrelationship.md)
