> ## 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 | 篩選為僅限使用者連絡人清單上具有 "Favorite" 屬性的人。 |
| LegacyXboxLiveFriends | 篩選為僅限使用者連絡人清單上同時也是舊版 XBOX Live 好友的人。 |

## 作為下列項目的引數

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

## 需求

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

## 另請參閱

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


## Related topics

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