FileTypeModel
File type for content redirection.
Properties
| Name | Description | Additional information |
|---|---|---|
| ExtensionName | Extension name. |
Type: String |
| ContentType | Content type. |
Type: String |
| PerceivedType | Perceived type. |
Type: String |
| Name | Name. |
Type: String |
| Description | Description. |
Type: String |
| HandlerOpen | The "Open" handler command line. |
Type: String |
| HandlerOpenExecutableName | The "Open" handler executable name. |
Type: String |
| HandlerOpenArguments | The "Open" handler command line arguments. |
Type: String |
| HandlerEdit | The "Edit" handler command line. |
Type: String |
| HandlerEditExecutableName | The "Edit" handler executable name. |
Type: String |
| HandlerEditArguments | The "Edit" handler command line arguments. |
Type: String |
| HandlerPrint | The "Print" handler command line. |
Type: String |
| HandlerPrintTo | The "Print To" handler command line. |
Type: String |
Sample
application/json
Sample:
{
"ExtensionName": ".txt",
"ContentType": "application/text",
"Name": "App.1",
"Description": "Text file",
"HandlerOpen": "C:\\Program Files\\myapp\\app.exe -file %1",
"HandlerOpenExecutableName": "app.exe",
"HandlerOpenArguments": "-file %1",
"HandlerEdit": "C:\\Program Files\\myapp\\app.exe -file %1",
"HandlerEditExecutableName": "app.exe",
"HandlerEditArguments": "-file %1"
}