File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
5.1/Microsoft.PowerShell.Core/About
7.4/Microsoft.PowerShell.Core/About
7.5/Microsoft.PowerShell.Core/About Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -188,10 +188,10 @@ A reference type variable is created using
188188Even though ` [ref] ` is a type accelerator for
189189` [System.Management.Automation.PSReference] ` , they behave differently.
190190
191- - When you use ` [ref] ` to cast a variable, PowerShell creates reference object
192- that contains reference to the original instance of the variable.
191+ - When you use ` [ref] ` to cast a variable, PowerShell creates a reference object
192+ that contains a reference to the original instance of the variable.
193193- When you use ` [System.Management.Automation.PSReference] ` to cast a variable,
194- PowerShell creates reference object that contains a copy of the variable,
194+ PowerShell creates a reference object that contains a copy of the variable,
195195 rather than a reference to the original instance.
196196
197197For example, the following script creates a variable ` $x ` and two reference
Original file line number Diff line number Diff line change @@ -188,10 +188,10 @@ A reference type variable is created using
188188Even though ` [ref] ` is a type accelerator for
189189` [System.Management.Automation.PSReference] ` , they behave differently.
190190
191- - When you use ` [ref] ` to cast a variable, PowerShell creates reference object
192- that contains reference to the original instance of the variable.
191+ - When you use ` [ref] ` to cast a variable, PowerShell creates a reference object
192+ that contains a reference to the original instance of the variable.
193193- When you use ` [System.Management.Automation.PSReference] ` to cast a variable,
194- PowerShell creates reference object that contains a copy of the variable,
194+ PowerShell creates a reference object that contains a copy of the variable,
195195 rather than a reference to the original instance.
196196
197197For example, the following script creates a variable ` $x ` and two reference
Original file line number Diff line number Diff line change @@ -188,10 +188,10 @@ A reference type variable is created using
188188Even though ` [ref] ` is a type accelerator for
189189` [System.Management.Automation.PSReference] ` , they behave differently.
190190
191- - When you use ` [ref] ` to cast a variable, PowerShell creates reference object
192- that contains reference to the original instance of the variable.
191+ - When you use ` [ref] ` to cast a variable, PowerShell creates a reference object
192+ that contains a reference to the original instance of the variable.
193193- When you use ` [System.Management.Automation.PSReference] ` to cast a variable,
194- PowerShell creates reference object that contains a copy of the variable,
194+ PowerShell creates a reference object that contains a copy of the variable,
195195 rather than a reference to the original instance.
196196
197197For example, the following script creates a variable ` $x ` and two reference
You can’t perform that action at this time.
0 commit comments