Forum Discussion
ahinterl
Jul 02, 2025Brass Contributor
Array and array member methods
The following PowerShell code: class MyClass { }
class MyClass1 : MyClass {
[void] OutMsg([string] $Str) {
Write-Host -Object "MyClass1: $Str"
}
}
class MyClass2 : MyClass {
[vo...
ahinterl
Jul 03, 2025Brass Contributor
Found the solution:
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_member-access_enumeration?view=powershell-7.5