YieldKeyValuePair Delegate

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 New YieldKeyValuePair(AddressOf HandlerMethod)

Syntax

'Declaration
Public Delegate Function YieldKeyValuePair ( _
    key As String, _
    value As String _
) As Boolean
public delegate bool YieldKeyValuePair (
    string key,
    string value
)
public delegate bool YieldKeyValuePair (
    String^ key, 
    String^ value
)
/** @delegate */
public delegate boolean YieldKeyValuePair (
    String key, 
    String value
)

Parameters

  • key
  • value

Return Value

Returns Boolean.

Platforms

Target Platforms

See Also

Reference

Microsoft.OneGet.Providers.Package Namespace