PSCodeMethod Members

Serves as an additional code method for a PSObject object.

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

  Name Description
  PSCodeMethod Creates a new PSCodeMethod object that contains the name for the method and the underlying CLR method that this new method is based on.
Top

  Name Description
public property CodeReference Gets the underlying CLR method that the ETS code method is based on.
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 a constant that identifies this method as an ETS code method.
public property Name  Gets the name of the extended member (method, property, or member set). (Inherited from PSMemberInfo)
public property OverloadDefinitions Overridden. Gets a definition of all the overloads of the underlying code method.
public property TypeNameOfValue Overridden. Gets the full name of the code 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 an exact copy of the current PSCodeMethod object.
public methodEquals  (Inherited from Object)
public methodGetHashCode  (Inherited from Object)
public methodGetType  (Inherited from Object)
public methodInvokeOverridden. Invokes the underlying CLR code method and returns its results.
public methodToStringOverridden. Converts the current PSCodeMethod object to a string.
Top

(see also Extension Methods)
 NameDescription
protected methodFinalize  (Inherited from Object)
protected methodMemberwiseClone  (Inherited from Object)
protected methodSetMemberName  Sets the name of the extended member. This method is introduced in Windows PowerShell 2.0. (Inherited from PSMemberInfo)
Top

  Name Description
public extension method As  Use this method to adapt an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method As  This is called to adapt an object from a foreign app domain to a known interface in this appDomainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method As  Adapts an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  Use this method to adapt and extend an object so that you can pass it to a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  This is called to adapt and extend an object that we wish to pass to a foreign app domainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  Used to extend an object with an interface from a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method ToEnumerable  This element is introduced in Windows PowerShell 5.0. (Defined by CollectionExtensions.)
Top


Show: