Xceed .NET Libraries Documentation
TarredFolder Constructor(AbstractFile,String)


Xceed.Tar Assembly > Xceed.Tar Namespace > TarredFolder Class > TarredFolder Constructor : TarredFolder Constructor(AbstractFile,String)
Xceed.FileSystem.AbstractFile object that represents the TAR file to access. Cannot be a null reference (Nothing in Visual Basic).
Fully-qualified name of the folder stored in the TAR file. This folder may or may not exist in the TAR file. Cannot be a null reference (Nothing in Visual Basic).
Initializes a new instance of the TarredFolder class.
Syntax
'Declaration
 
Public Function New( _
   ByVal tarFile As AbstractFile, _
   ByVal folderName As String _
)
'Usage
 
Dim tarFile As AbstractFile
Dim folderName As String
 
Dim instance As New TarredFolder(tarFile, folderName)
public TarredFolder( 
   AbstractFile tarFile,
   string folderName
)

Parameters

tarFile
Xceed.FileSystem.AbstractFile object that represents the TAR file to access. Cannot be a null reference (Nothing in Visual Basic).
folderName
Fully-qualified name of the folder stored in the TAR file. This folder may or may not exist in the TAR file. Cannot be a null reference (Nothing in Visual Basic).
Remarks

It is important to always use the same instance of the AbstractFile representing the actual TAR file when creating new instances of either TarArchive, TarredFile or TarredFolder otherwise, when updating the TAR file through different instances, information can be lost. Instances obtained from calls to GetFile, GetFiles (and all) are safe, and share the same original AbstractFile.

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

Reference

TarredFolder Class
TarredFolder Members
Overload List