Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Utility Namespace / FileHelper Class / ReadText Method
The file to read
In This Topic
    ReadText Method
    In This Topic
    Reads all data from the given file in a text string
    Syntax
    public static string ReadText( 
       string path
    )

    Parameters

    path
    The file to read

    Return Value

    File data
    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