Request.GetOptionValues 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 Request
Dim category As Integer
Dim key As String
Dim returnValue As IEnumerable(Of String)

returnValue = instance.GetOptionValues(category, key)

Syntax

'Declaration
Public MustOverride Function GetOptionValues ( _
    category As Integer, _
    key As String _
) As IEnumerable(Of String)
public abstract IEnumerable<string> GetOptionValues (
    int category,
    string key
)
public:
virtual IEnumerable<String^>^ GetOptionValues (
    int category, 
    String^ key
) abstract
public abstract IEnumerable<String> GetOptionValues (
    int category, 
    String key
)
public abstract function GetOptionValues (
    category : int, 
    key : String
) : IEnumerable<String>

Parameters

  • category
  • key

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