Share via


AsyncCmdlet.WhatIf Property

This element is introduced in Windows PowerShell 5.0.

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

Usage

'Usage
Dim instance As AsyncCmdlet
Dim value As Boolean

value = instance.WhatIf

Syntax

'Declaration
Public ReadOnly Property WhatIf As Boolean
public bool WhatIf { get; }
public:
property bool WhatIf {
    bool get ();
}
/** @property */
public boolean get_WhatIf ()
public function get WhatIf () : 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

AsyncCmdlet Class
AsyncCmdlet Members
Microsoft.OneGet.Utility.PowerShell Namespace