| 
            
              EmbeddedResourcePathProviderFileExists Method
             | 
          
        
        
            Gets a value that indicates whether a file exists in the virtual file system.
            
        
        Namespace: GSF.Web.HostingAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.258-beta
Syntaxpublic override bool FileExists(
	string virtualPath
)
Public Overrides Function FileExists ( 
	virtualPath As String
) As Boolean
public:
virtual bool FileExists(
	String^ virtualPath
) override
abstract FileExists : 
        virtualPath : string -> bool 
override FileExists : 
        virtualPath : string -> bool function FileExists(virtualPath);
 View SourceParameters
- virtualPath  String
 - The path to the virtual file.
 
Return Value
Boolean if the file exists in the virtual file system; otherwise, 
.
Exceptions| Exception | Condition | 
|---|
| ArgumentNullException | 
            Thrown if virtualPath is .
             | 
| ArgumentOutOfRangeException | 
            Thrown if virtualPath is Empty.
             | 
Remarks
            This override checks to see if the embedded resource file exists
            in memory.  If so, this method will return .
            If not, it returns the value from the Previous
            virtual path provider.
            
See AlsoReference
FileExists(String)