Windows Dev Center

PSMethod Class

Defines a method that provides access to a method of the base object or made accessible through an adapter. These methods are referred to as Windows PowerShell methods.

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

Dim instance As PSMethod

public class PSMethod : PSMethodInfo
public class PSMethod extends PSMethodInfo
public class PSMethod extends PSMethodInfo

For more information about the methods that can be used to extend base objects, see ETS Methods.

Although it is possible to derive from this class, there is no established scenario for doing this and any attempt to do so may 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