Click or drag to resize
FileHelperIsTextFileExtension Method
Returns true if the given file extension represents a text file.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax
C#
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: Boolean
Remarks
This method contains only limited set of extensions used by system and should not be used in custom code.
See Also