FileHelperIsTextFileExtension Method |
Returns true if the given file extension represents a text file.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax public static bool IsTextFileExtension(
string extension
)
Parameters
- extension
- Type: SystemString
Extension to check, can be in both format with and without dot (.jpg, jpg).
Return Value
Type:
BooleanRemarks
This method contains only limited set of extensions used by system and should not be used in custom code.
See Also