GetFilePaths Method (path, names)

DTF API

Copy image CopyHover image
Deployment Tools Foundation GetFilePaths Method (path, names)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstaller.PackageInstallPackageGetFilePaths(String, ICollection<(Of <<'(String>)>>))
Provides a key (filename) / value (full path) pair where the Binary files can be worked with
Declaration Syntax
C# Visual Basic Visual C++ F#
public virtual IDictionary<string, string> GetFilePaths(
	string path,
	ICollection<string> names = null
)
Public Overridable Function GetFilePaths ( 
	path As String,
	Optional names As ICollection(Of String) = Nothing
) As IDictionary(Of String, String)
public:
virtual IDictionary<String^, String^>^ GetFilePaths(
	String^ path, 
	ICollection<String^>^ names = nullptr
)
abstract GetFilePaths : 
        path : string * 
        ?names : ICollection<string> 
(* Defaults:
        let _names = defaultArg names null
*)
-> IDictionary<string, string> 
override GetFilePaths : 
        path : string * 
        ?names : ICollection<string> 
(* Defaults:
        let _names = defaultArg names null
*)
-> IDictionary<string, string> 
Parameters
path (String)
The path to search for files in. This is NOT recursive.
names (ICollection<(Of <(<'String>)>)>) (Optional)
The explicit names to search for. All will be returned if nothing specified.
Return Value
IDictionary<(Of <(<'String, String>)>)>
A [M:System.Colletions.Generic.IDictionary`1{string,string}] of the filename/fullpath key value pairs of the directory given.

Assembly: Microsoft.Deployment.WindowsInstaller.Package (Module: Microsoft.Deployment.WindowsInstaller.Package.dll) Version: 3.0.0.0 (3.11.1.2318)