Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Adds a Directory to a Zip file archive.

Namespace: Visual3D.Persistence.Compression.Zip
Assembly: Visual3D.Utilities (in Visual3D.Utilities.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

      
 C#  Visual Basic 
public void AddDirectory(
	string DirectoryName
)
Public Sub AddDirectory ( _
	DirectoryName As String _
)

Parameters

DirectoryName
String
The name of the directory to add.

Remarks

The name of the directory may be a relative path or a fully-qualified path. The add operation is recursive, so that any files or subdirectories within the name directory are also added to the archive.

See Also

[!:Ionic.Utils.Zip.ZipFile.AddItem(string)]
[!:Ionic.Utils.Zip.ZipFile.AddFile(string)]
[!:Ionic.Utils.Zip.ZipFile.UpdateDirectory(string)]