Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Serves as a method implemented with a script
public ref class PSScriptMethod : System::Management::Automation::PSMethodInfo
public class PSScriptMethod : System.Management.Automation.PSMethodInfo
type PSScriptMethod = class inherit PSMethodInfo
Public Class PSScriptMethod Inherits PSMethodInfo
It is permitted to subclass PSScriptMethod but there is no established scenario for doing this, nor has it been tested.
Initializes a new instance of PSScriptMethod
True if this member has been added to the instance as opposed to coming from the adapter or from type data(Inherited from PSMemberInfo)
Gets the member type
Gets the member name(Inherited from PSMemberInfo)
Gets a list of all the overloads for this method
Gets the script implementing this PSScriptMethod
Gets the type of the value for this member. Currently this always returns typeof(object).FullName.
Gets the value of this member. The getter returns the PSMethodInfo itself.(Inherited from PSMethodInfo)
returns a new PSMemberInfo that is a copy of this PSMemberInfo
Invokes Script method and returns its results.
Allows a derived class to set the member name...(Inherited from PSMemberInfo)
Returns the string representation of this member