VirtualPathManagerFileExists Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Gets a value that indicates whether a directory exists in the virtual file system.

Namespace: ContentStudio.Storage
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public bool FileExists(
	ConnectionId connectionId,
	SessionId sessionId,
	string virtualPath
)

Parameters

connectionId
Type: ContentStudioConnectionId
A value that identifies the web site
sessionId
Type: ContentStudio.SecuritySessionId
A value that identifies the user's session. This value typically is retrieved from a call to the OpenSession method
virtualPath
Type: SystemString
The virtual directory to check.

Return Value

Type: Boolean
true if the directory exists; otherwise, false.
See Also

Reference