Share via


IPackageManagementService.SelectProvidersWithFeature Method (String, String)

This element is introduced in Windows PowerShell 5.0.

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

Usage

'Usage
Dim instance As IPackageManagementService
Dim featureName As String
Dim value As String
Dim returnValue As IEnumerable(Of PackageProvider)

returnValue = instance.SelectProvidersWithFeature(featureName, value)

Syntax

'Declaration
Function SelectProvidersWithFeature ( _
    featureName As String, _
    value As String _
) As IEnumerable(Of PackageProvider)
IEnumerable<PackageProvider> SelectProvidersWithFeature (
    string featureName,
    string value
)
IEnumerable<PackageProvider^>^ SelectProvidersWithFeature (
    String^ featureName, 
    String^ value
)
IEnumerable<PackageProvider> SelectProvidersWithFeature (
    String featureName, 
    String value
)
function SelectProvidersWithFeature (
    featureName : String, 
    value : String
) : IEnumerable<PackageProvider>

Parameters

  • featureName
  • value

Return Value

Returns IEnumerable.

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

IPackageManagementService Interface
IPackageManagementService Members
Microsoft.OneGet Namespace