Search notes:
PowerShell: class methods
Writing to the pipeline
While all output of ordinary PowerShell
functions
is written to the
pipeline
, the behavior of class methods in this regard is fundamentally different: only values indicated with the
return
statement is written to the pipeline.
See also
A
param
block
is not permitted in class methods.
class
Index