Share via


Response.YieldDynamicOption Method

This element is introduced in Windows PowerShell 5.0.

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

Usage

'Usage
Dim instance As Response(Of T)
Dim category As Integer
Dim name As String
Dim expectedType As Integer
Dim isRequired As Boolean
Dim returnValue As Boolean

returnValue = instance.YieldDynamicOption(category, name, expectedType, isRequired)

Syntax

'Declaration
Public Function YieldDynamicOption ( _
    category As Integer, _
    name As String, _
    expectedType As Integer, _
    isRequired As Boolean _
) As Boolean
public bool YieldDynamicOption (
    int category,
    string name,
    int expectedType,
    bool isRequired
)
public:
virtual bool YieldDynamicOption (
    int category, 
    String^ name, 
    int expectedType, 
    bool isRequired
) sealed
public final boolean YieldDynamicOption (
    int category, 
    String name, 
    int expectedType, 
    boolean isRequired
)
public final function YieldDynamicOption (
    category : int, 
    name : String, 
    expectedType : int, 
    isRequired : boolean
) : boolean

Parameters

  • category
  • name
  • expectedType
  • isRequired

Return Value

Returns Boolean.

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

Response Generic Class
Response Members
Microsoft.OneGet.Providers.Package Namespace