![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | how to call a static method in a .net class from powershell? I know how to call an instance method from PSH, but who can tell me how to call a static method? |
My System Specs![]() |
| | #2 (permalink) |
| | Re: how to call a static method in a .net class from powershell? On Sep 11, 12:40 pm, YY <Y...@xxxxxx> wrote: Quote: > I know how to call an instance method from PSH, but who can tell me how to > call a static method? example: PSH$ [System.DateTime]::Now 11 September 2007 12:48:54 PSH$ [regex]::Split( "System.Text.RegularExpressions.Regex", "\." ) System Text RegularExpressions Regex Jeff Hillman |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| When a class is both an inherited class of another, and alsoimplements an interface method | .NET General | |||
| Access a static member on a nested static class. | PowerShell | |||
| Access a static member on a nested static class. | PowerShell | |||
| Is easier WMI static class access in the works for 1.1+? | PowerShell | |||