Xceed Real-Time Zip for .NET Documentation
DoGetFile Method


Xceed.Zip Assembly > Xceed.Zip Namespace > ZippedFolder Class : DoGetFile Method
A reference to a Xceed.FileSystem.FileSystemEventsSession object which is responsible for raising all events that occur during the process.
The name of the file to retrieve.
Retrieves a reference to an Xceed.FileSystem.AbstractFile object contained within the zipped folder.
Syntax
'Declaration
 
Protected Overrides Function DoGetFile( _
   ByVal session As Xceed.FileSystem.FileSystemEventsSession, _
   ByVal fileName As String _
) As Xceed.FileSystem.AbstractFile
'Usage
 
Dim instance As ZippedFolder
Dim session As Xceed.FileSystem.FileSystemEventsSession
Dim fileName As String
Dim value As Xceed.FileSystem.AbstractFile
 
value = instance.DoGetFile(session, fileName)
protected override Xceed.FileSystem.AbstractFile DoGetFile( 
   Xceed.FileSystem.FileSystemEventsSession session,
   string fileName
)

Parameters

session
A reference to a Xceed.FileSystem.FileSystemEventsSession object which is responsible for raising all events that occur during the process.
fileName
The name of the file to retrieve.

Return Value

A reference to an Xceed.FileSystem.AbstractFile object regardless of if the file represented by the object exists or not.
Remarks

fileName should not end with a System.IO.Path.DirectorySeparatorChar.

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

ZippedFolder Class
ZippedFolder Members
Base Implementation in DoGetFile