PSCodeMethod Class

Serves as an additional code method for a PSObject object.

Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

Dim instance As PSCodeMethod

public class PSCodeMethod : PSMethodInfo
public class PSCodeMethod extends PSMethodInfo
public class PSCodeMethod extends PSMethodInfo

A code method is an extended member that is defined in a CLR language. For more information about code methods as well as other method types used by the extended type system (ETS), see ETS Methods. For more information about ETS, see Windows PowerShell Extended Type System (ETS).

Although it is possible to derive from this class, there is no established scenario for doing this and any attempt to do so might result in unexpected behavior.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms

© 2015 Microsoft