PSMethodInfo PSMethodInfo PSMethodInfo Class

Definition

Serves as a base class for all members that behave like methods.

public abstract class PSMethodInfo : System.Management.Automation.PSMemberInfo
type PSMethodInfo = class
    inherit PSMemberInfo
Public MustInherit Class PSMethodInfo
Inherits PSMemberInfo
Inheritance
PSMethodInfoPSMethodInfoPSMethodInfo
Derived

Constructors

PSMethodInfo() PSMethodInfo() PSMethodInfo()

Initializes a new instance of a class derived from PSMethodInfo.

Properties

IsInstance IsInstance IsInstance Inherited from PSMemberInfo
MemberType MemberType MemberType Inherited from PSMemberInfo
Name Name Name Inherited from PSMemberInfo
OverloadDefinitions OverloadDefinitions OverloadDefinitions

Gets a list of all the overloads for this method

TypeNameOfValue TypeNameOfValue TypeNameOfValue Inherited from PSMemberInfo
Value Value Value

Gets the value of this member. The getter returns the PSMethodInfo itself.

Methods

Copy() Copy() Copy() Inherited from PSMemberInfo
Invoke(Object[]) Invoke(Object[]) Invoke(Object[])

Invokes the appropriate method overload for the given arguments and returns its result.

SetMemberName(String) SetMemberName(String) SetMemberName(String) Inherited from PSMemberInfo

Applies to