### Method

# Vte Terminal dup_termprop_string_by_id

since: 0.78

#### Declaration [src]

    char*
    vte_terminal_dup_termprop_string_by_id (
      VteTerminal* terminal,
      int prop,
      size_t* size
    )

#### Description [src]

Like `vte_terminal_dup_termprop_string()` except that it takes the termprop by ID. See that function for more information.

Available since: 0.78

#### Parameters

`prop`

  Type: `int`

  A termprop ID.

`size`

  Type: `size_t*`

  A location to store the string length, or `NULL`.

  The argument will be set by the function.
  The argument can be `NULL`.

#### Return value

Type: `char*`

The property’s value, or `NULL`.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be `NULL`.
The value is a NUL terminated UTF-8 string.