IVirtualPathFactory.Exists Method
Determines whether the specified virtual path is associated with a handler factory.
Namespace: System.Web.WebPages
Assembly: System.Web.WebPages (in System.Web.WebPages.dll)
Syntax
'Declaration
Function Exists ( _
virtualPath As String _
) As Boolean
'Usage
Dim instance As IVirtualPathFactory
Dim virtualPath As String
Dim returnValue As Boolean
returnValue = instance.Exists(virtualPath)
bool Exists(
string virtualPath
)
bool Exists(
String^ virtualPath
)
abstract Exists :
virtualPath:string -> bool
function Exists(
virtualPath : String
) : boolean
Parameters
- virtualPath
Type: System.String
The virtual path.
Return Value
Type: System.Boolean
true if a handler factory exists for the specified virtual path; otherwise, false.