PSMethod Members

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.

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

  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 Overridden. Gets an Method constant that identifies this method as a Windows PowerShell method.
public property Name  Gets the name of the extended member (method, property, or member set). (Inherited from PSMemberInfo)
public property OverloadDefinitions Overridden. Gets the definitions of all the overloads of the underlying method.
public property TypeNameOfValue Overridden. Gets the ETS method type name of the method.
public property Value  Overridden. Gets and sets the value of this method. (Inherited from PSMemberInfo)
Top

(see also Protected Methods)
 NameDescription
public methodCopyOverridden. Makes a copy of the current PSMethod object.
public methodEquals  (Inherited from Object)
public methodGetHashCode  (Inherited from Object)
public methodGetType  (Inherited from Object)
public methodInvokeOverridden. Calls the underlying method.
public methodToStringOverridden. Converts the PSMethod object to a string.
Top

  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)
Top


Show:
© 2014 Microsoft