---
title: "StringPair"
slug: "api/session/types/stringpair"
sidebar:
  order: 107
---

<a id="ref-1952c029f1cd"></a>
<a id="ref-0bcd07c5e98d"></a>
<a id="ref-b44ad0ac4409"></a>

## Synopsis

```text
struct StringPair {
    string first;
    string second;
}
```

Instances of type `StringPair` are used to specify option arguments of the [`openSession`](/pCon/configuratorOnline/specs/api/session/operations/opensession#ref-b38359a85df9) operation. The value of `first`, which must start with a hyphen (`-`), indicates the option. The value of `second` is the actual value of the option. If the option has no value, then `second` must be the empty string (`""`).
