FileHelperIsTextFileExtension Method |
Returns true if the given file extension represents a text file.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
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