DevForce Help Reference
FileExists(String) Method


The path to the virtual file.
Gets a value that indicates whether a file exists in the virtual file system.
Syntax
'Declaration
 
Public Overrides Function FileExists( _
   ByVal virtualPath As String _
) As Boolean
'Usage
 
Dim instance As ServiceVirtualPathProvider
Dim virtualPath As String
Dim value As Boolean
 
value = instance.FileExists(virtualPath)
public override bool FileExists( 
   string virtualPath
)

Parameters

virtualPath
The path to the virtual file.

Return Value

true if the file exists in the virtual file system; otherwise, false.
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

Reference

ServiceVirtualPathProvider Class
ServiceVirtualPathProvider Members

Send Feedback