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

# PartyManager::GetOption

> Retrieves an option used to fine-tune Party library functionality.

Retrieves an option used to fine-tune Party library functionality.

## Syntax

```cpp theme={null}
PartyError GetOption(  
    const void* object,  
    PartyOption option,  
    void* value  
)  
```

### Parameters

**`object`**   void\*\
*optional*

The Party library object that may be required as context for different [PartyOption](/services/playfab/multiplayer/networking/reference/enums/partyoption) values.

**`option`**   [PartyOption](/services/playfab/multiplayer/networking/reference/enums/partyoption)

The Party library option to retrieve.

**`value`**   void\*\
*output*

An output value to fill with the current `option` setting. If this option has not yet been overridden by a call to [PartyManager::SetOption()](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_setoption), this method will retrieve that option's default value.

### Return value

PartyError

`c_partyErrorSuccess` if the call succeeded or an error code otherwise.

## Requirements

**Header:** Party.h

## See also

[PartyManager](/services/playfab/multiplayer/networking/reference/classes/PartyManager/partymanager)\
[PartyOption](/services/playfab/multiplayer/networking/reference/enums/partyoption)\
[PartyManager::SetOption](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_setoption)


## Related topics

- [PartyManager::SetOption](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_setoption.md)
- [PartyOption](/services/playfab/multiplayer/networking/reference/enums/partyoption.md)
- [PartyRegionQualityMeasurementConfiguration](/services/playfab/multiplayer/networking/reference/structs/partyregionqualitymeasurementconfiguration.md)
- [PartyRegionUpdateConfiguration](/services/playfab/multiplayer/networking/reference/structs/partyregionupdateconfiguration.md)
- [PartyLocalUdpSocketBindAddressConfiguration](/services/playfab/multiplayer/networking/reference/structs/partylocaludpsocketbindaddressconfiguration.md)
