PSCodeProperty Members

Represents an extended code property of a PSObject object.

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

  Name Description
  PSCodeProperty Overloaded. Creates a new instance of the PSCodeProperty class with the name of the code property. The variants of this constructor can create the class with the method used to get the property value, and create the class with methods used to get and set the property value.
Top

  Name Description
public property GetterCodeReference Gets the method used to get the value of the code property.
public property IsGettable Overridden. Gets a Boolean value that indicates whether the value of the code property can be retrieved.
public property IsInstance  Gets a value that indicates whether the source of the member is a type configuration file. (Inherited from PSMemberInfo)
public property IsSettable Overridden. Gets a Boolean value that indicates whether the value of the code property can be set.
public property MemberType Overridden. Gets a constant that identifies this property as a code property.
public property Name  Gets the name of the extended member (method, property, or member set). (Inherited from PSMemberInfo)
public property SetterCodeReference Gets the method used to set the value of the code property.
public property TypeNameOfValue Overridden. Gets the .NET Framework type of the property value that is returned by the get operation of the code property.
public property Value Overridden. Gets and sets the value of the code property.
Top

(see also Protected Methods)
 NameDescription
public methodCopyOverridden. Makes an exact copy of the current PSCodeProperty object.
public methodEquals  (Inherited from Object)
public methodGetHashCode  (Inherited from Object)
public methodGetType  (Inherited from Object)
public methodToStringOverridden. Converts the current PSCodeProperty 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: