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

# PFVariable

> PFVariable data model.

PFVariable data model.

## Syntax

```cpp theme={null}
typedef struct PFVariable {  
    const char* name;  
    const char* value;  
} PFVariable;  
```

### Members

**`name`**   const char\*\
*is null-terminated*

Name of the variable.

**`value`**   const char\*\
*is null-terminated*

(Optional) Value of the variable.

## Requirements

**Header:** PFTypes.h

## See also

[PFTypes members](/services/playfab/api-references/c/pftypes/pftypes_members)


## Related topics

- [PFTreatmentAssignment](/services/playfab/api-references/c/pftypes/structs/pftreatmentassignment.md)
- [Services C API overview - PFTypes.h](/services/playfab/api-references/c/pftypes/pftypes_members.md)
- [ExperimentVariable](/services/playfab/api-references/events/data-types/experimentvariable.md)
- [Variable Rate Shading (VRS) on XBOX Series X|S](/build/core-features/graphics/newfeatures/vrs/index.md)
- [D3D12_VARIABLE_SHADING_RATE_TIER](/reference/graphics/d3d12/enums/d3d12_variable_shading_rate_tier_public.md)
