Share via


ShouldProcessParameters.WhatIf Property

Definition

Gets or sets the value of the -Whatif parameter for all cmdlets.

public:
 property System::Management::Automation::SwitchParameter WhatIf { System::Management::Automation::SwitchParameter get(); void set(System::Management::Automation::SwitchParameter value); };
public System.Management.Automation.SwitchParameter WhatIf { get; set; }
[System.Management.Automation.Alias(new System.String[] { "wi" })]
[System.Management.Automation.Parameter]
public System.Management.Automation.SwitchParameter WhatIf { get; set; }
member this.WhatIf : System.Management.Automation.SwitchParameter with get, set
[<System.Management.Automation.Alias(new System.String[] { "wi" })>]
[<System.Management.Automation.Parameter>]
member this.WhatIf : System.Management.Automation.SwitchParameter with get, set
Public Property WhatIf As SwitchParameter

Property Value

Attributes

Applies to