ExtractFiles Method
See Also 
SourceCode.Workflow.Design.InfoPath.FormTemplate Namespace > Utilities Class : ExtractFiles Method



source
The cabinet or xsn file.
destination
The directory to which the files must be extracted.

Glossary Item Box

Extracts the files from the specified cabinet file to the specified directory. This function can also be used to extract the solution files of an xsn file.

Syntax

Visual Basic (Declaration) 
Public Shared Sub ExtractFiles( _
   ByVal source As FileInfo, _
   ByVal destination As DirectoryInfo _
) 
Visual Basic (Usage)Copy Code
Dim source As FileInfo
Dim destination As DirectoryInfo
 
Utilities.ExtractFiles(source, destination)
C# 
public static void ExtractFiles( 
   FileInfo source,
   DirectoryInfo destination
)
C++/CLI 
public:
static void ExtractFiles( 
   FileInfo^ source,
   DirectoryInfo^ destination
) 

Parameters

source
The cabinet or xsn file.
destination
The directory to which the files must be extracted.

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