AppInfoT.setAsDefaultForType

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

template AppInfoT(TStruct)
int
setAsDefaultForType
()

Parameters

contentType string

the content type.

Return Value

Type: int

TRUE on success, FALSE on error.

Throws

GException on failure.

Meta