Skip to content

Commit f679525

Browse files
authored
Fixes #12432 - Fix syntax example (#12436)
* Upcase H2 headers * Fix structure of About files * Fix syntax example
1 parent 68f0036 commit f679525

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

reference/5.1/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ constructor parameters and before the body block.
449449

450450
```Syntax
451451
class <derived-class> : <base-class> {
452-
<derived-class>(<derived-parameters>) : <base-class>(<base-parameters>) {
452+
<derived-class>(<derived-parameters>) : <base>(<base-parameters>) {
453453
# initialization code
454454
}
455455
}

reference/7.4/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Describes how to define constructors for PowerShell classes.
33
Locale: en-US
4-
ms.date: 11/13/2023
4+
ms.date: 10/13/2025
55
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_classes_constructors?view=powershell-7.4&WT.mc_id=ps-gethelp
66
schema: 2.0.0
77
title: about_Classes_Constructors
@@ -448,7 +448,7 @@ constructor parameters and before the body block.
448448

449449
```Syntax
450450
class <derived-class> : <base-class> {
451-
<derived-class>(<derived-parameters>) : <base-class>(<base-parameters>) {
451+
<derived-class>(<derived-parameters>) : <base>(<base-parameters>) {
452452
# initialization code
453453
}
454454
}

reference/7.5/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Describes how to define constructors for PowerShell classes.
33
Locale: en-US
4-
ms.date: 11/13/2023
4+
ms.date: 10/13/2025
55
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_classes_constructors?view=powershell-7.5&WT.mc_id=ps-gethelp
66
schema: 2.0.0
77
title: about_Classes_Constructors
@@ -448,7 +448,7 @@ constructor parameters and before the body block.
448448

449449
```Syntax
450450
class <derived-class> : <base-class> {
451-
<derived-class>(<derived-parameters>) : <base-class>(<base-parameters>) {
451+
<derived-class>(<derived-parameters>) : <base>(<base-parameters>) {
452452
# initialization code
453453
}
454454
}

reference/7.6/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Describes how to define constructors for PowerShell classes.
33
Locale: en-US
4-
ms.date: 11/13/2023
4+
ms.date: 10/13/2025
55
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_classes_constructors?view=powershell-7.6&WT.mc_id=ps-gethelp
66
schema: 2.0.0
77
title: about_Classes_Constructors
@@ -448,7 +448,7 @@ constructor parameters and before the body block.
448448

449449
```Syntax
450450
class <derived-class> : <base-class> {
451-
<derived-class>(<derived-parameters>) : <base-class>(<base-parameters>) {
451+
<derived-class>(<derived-parameters>) : <base>(<base-parameters>) {
452452
# initialization code
453453
}
454454
}

0 commit comments

Comments
 (0)