Retrieves all packages within a specified folder and its
subfolders.
Namespace:
Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly:
Microsoft.ComponentStudio.ComponentPlatformInterface (in
microsoft.componentstudio.componentplatforminterface.dll)
Usage
Visual Basic |
Dim folder As String
Dim returnValue As Collection(Of String)
returnValue = DistributionShareInfo.FindPackagesInFolder(folder)
|
Syntax
Visual Basic |
Public Shared Function FindPackagesInFolder( _
ByVal folder As String _
) As Collection(Of String)
|
C# |
public static Collection<string> FindPackagesInFolder(
string folder
);
|
C++ |
public:
static Collection<String^>^ FindPackagesInFolder(
String^ folder
);
|
J# |
public static Collection<System.String> FindPackagesInFolder(
System.String folder
);
|
JScript |
JScript does not support Generics.
|
Parameters
- folder
-
Folder to be searched.
Return Value
A collection of paths to each package that was found.
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server
2003, Windows Vista, and Windows 2000
Target Platforms
See Also