Request.Yield Method
This element is introduced in Windows PowerShell 5.0.
Namespace: Microsoft.OneGet.ServicesProvider.Common
Assembly: Microsoft.OneGet.ServicesProvider.Common (in Microsoft.OneGet.ServicesProvider.Common.dll)
Usage
'Usage
Dim instance As Request
Dim pair As KeyValuePair(Of String, String())
Dim returnValue As Boolean
returnValue = instance.Yield(pair)
Syntax
'Declaration
Public Function Yield ( _
pair As KeyValuePair(Of String, String()) _
) As Boolean
public bool Yield (
KeyValuePair<string,string[]> pair
)
public:
bool Yield (
KeyValuePair<String^, array<String^>^> pair
)
public boolean Yield (
KeyValuePair<String,String[]> pair
)
public function Yield (
pair : KeyValuePair<String,String[]>
) : boolean
Parameters
- pair
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
Request Class
Request Members
Microsoft.OneGet.ServicesProvider.Common Namespace