IdeaBlade DevForce 2010 Help Reference
GetFolderContents Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > HttpFns Class : GetFolderContents Method



url
The URL folder to search
deep
Whether to traverse all of the specified folders subdirectories
proxyName
The name of the proxy host.
proxyPort
The port on the proxy host to use.
Returns a list of HttpFileInfo instances about the contents of a URL folder. The option to return info about all subdirectories of the specified folder is also provided.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetFolderContents( _
   ByVal url As String, _
   ByVal deep As Boolean, _
   ByVal proxyName As String, _
   ByVal proxyPort As Integer _
) As IList
Visual Basic (Usage)Copy Code
Dim url As String
Dim deep As Boolean
Dim proxyName As String
Dim proxyPort As Integer
Dim value As IList
 
value = HttpFns.GetFolderContents(url, deep, proxyName, proxyPort)
C# 
public static IList GetFolderContents( 
   string url,
   bool deep,
   string proxyName,
   int proxyPort
)
C++/CLI 
public:
static IList^ GetFolderContents( 
   String^ url,
   bool deep,
   String^ proxyName,
   int proxyPort
) 

Parameters

url
The URL folder to search
deep
Whether to traverse all of the specified folders subdirectories
proxyName
The name of the proxy host.
proxyPort
The port on the proxy host to use.

Return Value

A list of HttpFileInfo instances each corresponding to a single file

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.