Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Utility Namespace / FileHelper Class / IsTextFile Method
The full physical path to the file to test.
In This Topic
    IsTextFile Method
    In This Topic
    Checks a file extension to see whether it is recognized as a text file.
    Syntax
    public static bool IsTextFile( 
       string path
    )

    Parameters

    path
    The full physical path to the file to test.

    Return Value

    True if the file is recognized as a text file, false otherwise.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also