Share via


Response.YieldKeyValuePair 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 key As String
Dim value As String
Dim returnValue As Boolean

returnValue = instance.YieldKeyValuePair(key, value)

Syntax

'Declaration
Public Function YieldKeyValuePair ( _
    key As String, _
    value As String _
) As Boolean
public bool YieldKeyValuePair (
    string key,
    string value
)
public:
virtual bool YieldKeyValuePair (
    String^ key, 
    String^ value
) sealed
public final boolean YieldKeyValuePair (
    String key, 
    String value
)
public final function YieldKeyValuePair (
    key : String, 
    value : String
) : boolean

Parameters

  • key
  • value

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