Request.YieldDynamicOption Method (OptionCategory, String, OptionType, Boolean)

This element is introduced in Windows PowerShell 5.0.


Namespace: Microsoft.OneGet.PackageProvider.Bootstrap
Assembly: Microsoft.OneGet.PackageProvider.Bootstrap (in Microsoft.OneGet.PackageProvider.Bootstrap.dll)

'Usage
Dim instance As Request
Dim category As OptionCategory
Dim name As String
Dim expectedType As OptionType
Dim isRequired As Boolean
Dim returnValue As Boolean

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

public bool YieldDynamicOption (
	OptionCategory category,
	string name,
	OptionType expectedType,
	bool isRequired
)
public boolean YieldDynamicOption (
	OptionCategory category, 
	String name, 
	OptionType expectedType, 
	boolean isRequired
)
public function YieldDynamicOption (
	category : OptionCategory, 
	name : String, 
	expectedType : OptionType, 
	isRequired : boolean
) : boolean

Parameters

category

name

expectedType

isRequired

Return Value

Returns Boolean.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms


Show: