PowerShellPackageProvider.FindPackageByFile Method

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.MetaProvider.PowerShell
Assembly: Microsoft.OneGet.MetaProvider.PowerShell (in Microsoft.OneGet.MetaProvider.PowerShell.dll)

Usage

'Usage
Dim instance As PowerShellPackageProvider
Dim file As String
Dim id As Integer
Dim requestImpl As Object

instance.FindPackageByFile(file, id, requestImpl)

Syntax

'Declaration
Public Sub FindPackageByFile ( _
    file As String, _
    id As Integer, _
    requestImpl As Object _
)
public void FindPackageByFile (
    string file,
    int id,
    Object requestImpl
)
public:
void FindPackageByFile (
    String^ file, 
    int id, 
    Object^ requestImpl
)
public void FindPackageByFile (
    String file, 
    int id, 
    Object requestImpl
)
public function FindPackageByFile (
    file : String, 
    id : int, 
    requestImpl : Object
)

Parameters

  • file
  • id
  • requestImpl

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

Target Platforms

See Also

Reference

PowerShellPackageProvider Class
PowerShellPackageProvider Members
Microsoft.OneGet.MetaProvider.PowerShell Namespace