Share via


CmdletBase.GetOptionValues Method

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

Usage

'Usage
Dim instance As CmdletBase
Dim category As Integer
Dim key As String
Dim returnValue As IEnumerable(Of String)

returnValue = instance.GetOptionValues(category, key)

Syntax

'Declaration
Public Overridable Function GetOptionValues ( _
    category As Integer, _
    key As String _
) As IEnumerable(Of String)
public virtual IEnumerable<string> GetOptionValues (
    int category,
    string key
)
public:
virtual IEnumerable<String^>^ GetOptionValues (
    int category, 
    String^ key
)
public IEnumerable<String> GetOptionValues (
    int category, 
    String key
)
public 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

CmdletBase Class
CmdletBase Members
Microsoft.PowerShell.OneGet.CmdLets Namespace