Qmi.MessageWdsSetLteAttachPdnListInput.set_list

### Method

# Qmi MessageWdsSetLteAttachPdnListInputset_list

since: 1.28

#### Declaration [src]

    gboolean
    qmi_message_wds_set_lte_attach_pdn_list_input_set_list (
      QmiMessageWdsSetLteAttachPdnListInput* self,
      GArray* value_list,
      GError** error
    )

#### Description [src]

Set the ‘List’ field in the message.

Available since: 1.28

#### Parameters

`value_list`

  Type: An array of `guint16`

  A `GArray` of #guint16 elements. A new reference to `value_list` will be taken, so the caller must make sure the array was created with the correct `GDestroyNotify` as clear function for each element in the array.

  The data is owned by the caller of the method.

`error`

  Type: `GError **`

  The return location for a recoverable error.

  The argument can be `NULL`.
  If the return location is not `NULL`, then you must initialize it to a `NULL` `GError*`.
  The argument will be left initialized to `NULL` by the method if there are no errors.
  In case of error, the argument will be set to a newly allocated `GError`; the caller will take ownership of the data, and be responsible for freeing it.

#### Return value

Type: `gboolean`

`TRUE` if `value` was successfully set, `FALSE` otherwise.