Click or drag to resize
PathFindExistingFile Method
Finds the existing file based on the given relative path

Namespace: CMS.IO
Assembly: CMS.IO (in CMS.IO.dll) Version: 9.0.0
Syntax
C#
public static bool FindExistingFile(
	ref string path,
	bool tryMappedPath
)

Parameters

path
Type: SystemString
Relative path to file
tryMappedPath
Type: SystemBoolean
If true, the check tries also the mapped path

Return Value

Type: Boolean
See Also