Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.UI Namespace / DisplayPageDataSource Class / ParseFromFile Method
The full path to the file to parse.
The virtual path of the file to register with the DisplayPage instance.
In This Topic
    ParseFromFile Method
    In This Topic
    Parses the display page comment header.
    Syntax
    public static DisplayPage ParseFromFile( 
       string filePath,
       string virtualFilePath
    )

    Parameters

    filePath
    The full path to the file to parse.
    virtualFilePath
    The virtual path of the file to register with the DisplayPage instance.

    Return Value

    If the display page comment header is found, returns the DisplayPage instance. Returns null if the comment header is not found or the file does not exist.
    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