DynamicOption.IsRequired Property

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.MetaProvider.PowerShell
Assembly: Microsoft.OneGet.MetaProvider.PowerShell (in Microsoft.OneGet.MetaProvider.PowerShell.dll)

Usage

'Usage
Dim instance As DynamicOption
Dim value As Boolean

value = instance.IsRequired

instance.IsRequired = value

Syntax

'Declaration
Public Property IsRequired As Boolean
public bool IsRequired { get; set; }
public:
property bool IsRequired {
    bool get ();
    void set (bool value);
}
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public boolean get_IsRequired ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_IsRequired (boolean value)
CompilerGeneratedAttribute 
public function get IsRequired () : boolean

CompilerGeneratedAttribute 
public function set IsRequired (value : boolean)

Property 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

DynamicOption Class
DynamicOption Members
Microsoft.OneGet.MetaProvider.PowerShell Namespace