AppInfoT.setAsDefaultForType

Sets the application as the default handler for a given type.

template AppInfoT(TStruct)
bool
setAsDefaultForType
()

Parameters

contentType string

the content type.

Return Value

Type: bool

TRUE on success, FALSE on error.

Throws

GException on failure.