Exists Method
See Also 
SourceCode.Workflow.Design.InfoPath.FormTemplate Namespace > Solution Class : Exists Method



raiseErrors
Specifies whether errors must be raised if the file does not exist.

Glossary Item Box

Verifies whether the original xsn file exists.

Syntax

Visual Basic (Declaration) 
Public Function Exists( _
   ByVal raiseErrors As Boolean _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Solution
Dim raiseErrors As Boolean
Dim value As Boolean
 
value = instance.Exists(raiseErrors)
C# 
public bool Exists( 
   bool raiseErrors
)
C++/CLI 
public:
bool Exists( 
   bool raiseErrors
) 

Parameters

raiseErrors
Specifies whether errors must be raised if the file does not exist.

Return Value

Returns true is the file exists and false if it does not.

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