diff --git a/reference/5.1/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md b/reference/5.1/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md index 922c8c7dc5a..6833fa0e61c 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md +++ b/reference/5.1/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md @@ -449,7 +449,7 @@ constructor parameters and before the body block. ```Syntax class : { - () : () { + () : () { # initialization code } } diff --git a/reference/7.4/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md b/reference/7.4/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md index 93f115d48d9..6ef41ffa916 100644 --- a/reference/7.4/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md +++ b/reference/7.4/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md @@ -1,7 +1,7 @@ --- description: Describes how to define constructors for PowerShell classes. Locale: en-US -ms.date: 11/13/2023 +ms.date: 10/13/2025 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_classes_constructors?view=powershell-7.4&WT.mc_id=ps-gethelp schema: 2.0.0 title: about_Classes_Constructors @@ -448,7 +448,7 @@ constructor parameters and before the body block. ```Syntax class : { - () : () { + () : () { # initialization code } } diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md index 1dcd106a6f3..7d2594702ab 100644 --- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md +++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md @@ -1,7 +1,7 @@ --- description: Describes how to define constructors for PowerShell classes. Locale: en-US -ms.date: 11/13/2023 +ms.date: 10/13/2025 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_classes_constructors?view=powershell-7.5&WT.mc_id=ps-gethelp schema: 2.0.0 title: about_Classes_Constructors @@ -448,7 +448,7 @@ constructor parameters and before the body block. ```Syntax class : { - () : () { + () : () { # initialization code } } diff --git a/reference/7.6/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md b/reference/7.6/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md index 3f3190d6a9b..d15dc0bdf9f 100644 --- a/reference/7.6/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md +++ b/reference/7.6/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md @@ -1,7 +1,7 @@ --- description: Describes how to define constructors for PowerShell classes. Locale: en-US -ms.date: 11/13/2023 +ms.date: 10/13/2025 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_classes_constructors?view=powershell-7.6&WT.mc_id=ps-gethelp schema: 2.0.0 title: about_Classes_Constructors @@ -448,7 +448,7 @@ constructor parameters and before the body block. ```Syntax class : { - () : () { + () : () { # initialization code } }