verify


Description:

public bool verify (Connection? connection) throws Error

Validates the setting.

Each setting's properties have allowed values, and some are dependent on other values (hence the need for connection). The returned Error contains information about which property of the setting failed validation, and in what way that property failed validation.

Parameters:

this

the Setting to verify

connection

the Connection that this came from, or null if this is being verified in isolation.

Returns:

true if the setting is valid, false if it is not




2022 vala-language.org