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

# XblMultiplayerSessionNumberAttribute

> XblMultiplayerSessionNumberAttribute

# XblMultiplayerSessionNumberAttribute

可在创建多人游戏会话搜索句柄时附加到该句柄的关联属性。属性名称必须为小写字母数字，并以字母开头。

## 语法

```cpp theme={null}
typedef struct XblMultiplayerSessionNumberAttribute {  
    char name[XBL_MULTIPLAYER_SEARCH_HANDLE_MAX_FIELD_LENGTH];  
    double value;  
} XblMultiplayerSessionNumberAttribute  
```

### 成员

*name*\
类型：char\[XBL\_MULTIPLAYER\_SEARCH\_HANDLE\_MAX\_FIELD\_LENGTH]

属性的名称。属性名称必须为小写字母数字，并以字母开头。

*value*\
类型：double

属性值。

## 要求

**头文件：** multiplayer\_c.h

## 另请参阅

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