GetFileTypes Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetFileTypes() method returns a DataSet that contains all the file types that have been configured in the system.
'Declaration
Public Shared Function GetFileTypes() As DataSet
public static DataSet GetFileTypes()
Return Value
Returns a DataSet containing a row for each record in the File_Type table. If no records are found, an empty DataSet is returned.
The columns of the returned DataSet are described below.
| Column | Description |
|---|---|
| file_ext |
A string that is the file type extension. |
| file_desc | A string that is the file type description. |
| edit_level | An integer that is the user level required to edit files of this file type. |
| view_level | An integer that is the user level required to view files of this file type. |
| print_level | An integer that is the user level required to print files of this file type. |
| edit_args | A string that is the edit arguments for this file type that the EditFile() method passes to Windows with the Edit verb. |
| view_args | A string that is the view arguments for this file type that the ViewFile() method passes to Windows with the Open verb. |
| print_args | A string that is the print arguments for this file type that one of the overloads of the PrintFile() method passes to Windows with the PrintTo verb. |
| last_edit_comment | A string that is a comment about why the record was added or changed. |
| last_edit_by | A string that is the user ID of a user who added or last edited the record. |
| last_edit_at | A datetime that identifies when the record was added or last modified. |