load_resource_contents


Description:

[ Version ( since = "6.0" ) ]
public static string load_resource_contents (string prov_name, string resource)

Loads and returns the contents of the specified resource.

This function should only be used by database provider's implementations

Parameters:

prov_name

the provider's name

resource

the name of the resource to load

Returns:

a new string containing the resource's contents, or null if not found or if an error occurred




2022 vala-language.org