The following code snippet shows how to list supported file formats in the console:
// Get list of file types.IEnumerable<FileType>supportedFileTypes=FileType.GetSupportedFileTypes();// Display list of file typesforeach(FileTypefileTypeinsupportedFileTypes){Console.WriteLine(fileType);}
The following image shows a sample console output:
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.