Validates the format of the path. The following is validated: 1) Path is not empty;
2) Path is a well-formed URL if isWebPath is true; 3) Path contains a file name;
4) The file name has a .xsn extension.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim path As String
Dim isWebPath As Boolean
XsnLocation.ValidatePathFormat(path, isWebPath)
|
Parameters
- path
- The full path of the xsn file.
- isWebPath
- The path is a URL.
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