ShouldProcessParameters.WhatIf Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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