Xceed .NET Libraries Documentation
GetFolder(String) Method


Xceed.FileSystem Assembly > Xceed.FileSystem Namespace > AbstractFolder Class > GetFolder Method : GetFolder(String) Method
Relative name of the folder to retrieve.
Returns an AbstractFolder object that represents a folder contained in the folder.
Syntax
'Declaration
 
Public Overloads Function GetFolder( _
   ByVal relativeName As String _
) As AbstractFolder
'Usage
 
Dim instance As AbstractFolder
Dim relativeName As String
Dim value As AbstractFolder
 
value = instance.GetFolder(relativeName)
public AbstractFolder GetFolder( 
   string relativeName
)

Parameters

relativeName
Relative name of the folder to retrieve.

Return Value

An AbstractFolder object representing the folder named relativeName.
Remarks

The relativeName parameter can include relative path information, in which ".." means "previous folder". For example: "folder/subFolder", "../folder", etc.

This method allows to get a reference to an AbstractFolder object for a folder that exists, as well as for a folder that does not exist. Further, the folder on which this method is called may not exist.

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

AbstractFolder Class
AbstractFolder Members
Overload List