FileHelperIsTextFileExtension Method |
Returns true if the given file extension represents a text file.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntaxpublic 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:
Boolean
Remarks
This method contains only limited set of extensions used by system and should not be used in custom code.
See Also