Request.SelectProvidersWithFeature Method (String, String)

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 Request
Dim featureName As String
Dim value As String
Dim returnValue As IEnumerable(Of Object)

returnValue = instance.SelectProvidersWithFeature(featureName, value)

Syntax

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

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

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