AppInfoT.setAsDefaultForExtension

Sets the application as the default handler for the given file extension.

template AppInfoT(TStruct)
bool
setAsDefaultForExtension
(
string extension
)

Parameters

extension string

a string containing the file extension (without the dot).

Return Value

Type: bool

%TRUE on success, %FALSE on error.

Throws

GException on failure.

Meta