Serves as a property implemented with getter and setter scripts.
public class PSScriptProperty : System.Management.Automation.PSPropertyInfo
It is permitted to subclass PSScriptProperty but there is no established scenario for doing this, nor has it been tested.
Initializes an instance of the PSScriptProperty class as a read only property.
|PSScriptProperty(String, ScriptBlock, ScriptBlock)||
Initializes an instance of the PSScriptProperty class as a read only property. getterScript or setterScript can be null, but not both.
Gets the script used for the property getter. It might be null.
Gets true if this property can be read
Gets true if this property can be set
Gets the member type
Gets the script used for the property setter. It might be null.
Gets the type of the value for this member. Currently this always returns typeof(object).FullName.
Gets and Sets the value of this property
returns a new PSMemberInfo that is a copy of this PSMemberInfo
Returns the string representation of this property