exists

This function tests for the existence of the specified file.

Syntax

function xweb.file.exists(
path : String
) : boolean

Parameters

path    The location of the file, which must be within the site. The path location must be prefixed by site:.

Returns

true    The specified file exists.

false   The specified file does not exist.

See Also

Concepts

file
file Members
xweb

  Copyright © 2011 by Microsoft Corporation. All rights reserved.