PSMethodInfo Members

Serves as a base class for all extended member classes that act like methods, such as the PSScriptMethod and PSCodeMethod classes.

The following tables list the members exposed by the PSMethodInfo type.

  Name Description
  PSMethodInfo Creates a new PSMethodInfo object.

  Name Description
public property IsInstance  Gets a value that indicates whether the source of the member is a type configuration file. (Inherited from PSMemberInfo)
public property MemberType  When overridden in a derived class, gets the Extended Type System (ETS) member type of the member. (Inherited from PSMemberInfo)
public property Name  Gets the name of the extended member (method, property, or member set). (Inherited from PSMemberInfo)
public property OverloadDefinitions Gets a collection of the descriptions for all the overloads of the method.
public property TypeNameOfValue  When overridden in a derived class, gets the name of the .NET Framework type of the member value. (Inherited from PSMemberInfo)
public property Value Overridden. Gets and sets the value of this method.

(see also Protected Methods)
public methodCopy  When overridden in a derived class, creates an exact copy of the current PSMemberInfo object. (Inherited from PSMemberInfo)
public methodEquals  (Inherited from Object)
public methodGetHashCode  (Inherited from Object)
public methodGetType  (Inherited from Object)
public methodInvokeInvokes the appropriate method overload based on the specified arguments.
public methodToString  (Inherited from Object)

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)
protected method SetMemberName  Sets the name of the extended member. This method is introduced in Windows PowerShell 2.0. (Inherited from PSMemberInfo)

© 2014 Microsoft