get_property_as_strv


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
public unowned string[]? get_property_as_strv (string key)

Look up the value for key on this and return the result of splitting it into non-empty tokens split at white space (only space (' '), form-feed ('\f'), newline ('\n'), carriage return ('\r'), horizontal tab ('\t'), and vertical tab ('\v') are considered; the locale is not taken into account).

Parameters:

this

A Device.

key

Name of property.

Returns:

The value of key on this split into tokens or null if key doesn't exist. This array is owned by this and should not be freed by the caller.




2022 vala-language.org