Assembly: System.Management.Automation (in System.Management.Automation.dll)
A code property is any property that has a getter and setter that is defined in a common language runtime (CLR) language. For more information about code properties in addition to other property types defined by the extended type system (ETS), see ETS Properties. For more information about the extended type system (ETS), see Windows PowerShell Extended Type System (ETS).
Although it is possible to derive from this class, there is no established scenario for doing this and any attempt to do so might result in unexpected behavior.