Click to Rate and Give Feedback

  Switch on low bandwidth view
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
Visual Basic
Public Class PSMethod
    Inherits PSMethodInfo
C#
public class PSMethod : PSMethodInfo
C++
public ref class PSMethod : public PSMethodInfo
J#
public class PSMethod extends PSMethodInfo
JScript
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.


System.Object
   System.Management.Automation.PSMemberInfo
     System.Management.Automation.PSMethodInfo
      System.Management.Automation.PSMethod
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP, Windows 7, Windows 2008 R2

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP, Windows 7, Windows 2008 R2
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker