PSAliasProperty
Class
Definition
Serves as an alias to another member
public class PSAliasProperty : System.Management.Automation.PSPropertyInfo
- Inheritance
Inherited Members
System.Management.Automation.PSMemberInfo
Remarks
It is permitted to subclass PSAliasProperty but there is no established scenario for doing this, nor has it been tested.
Constructors
| PSAliasProperty(String, String) |
Initializes a new instance of PSAliasProperty setting the name of the alias and the name of the member this alias refers to. |
| PSAliasProperty(String, String, Type) |
Initializes a new instance of PSAliasProperty setting the name of the alias, the name of the member this alias refers to and the type to convert the referenced member's value. |
Properties
| ConversionType |
Gets the the type to convert the referenced member's value. It might be null when no conversion is done. |
| IsGettable |
Gets true if this property can be read |
| IsSettable |
Gets true if this property can be set |
| MemberType |
Gets the member type |
| ReferencedMemberName |
Gets the name of the member this alias refers to |
| TypeNameOfValue |
Gets the type of the value for this member |
| Value |
Gets and Sets the value of this member |
Methods
| Copy() |
returns a new PSMemberInfo that is a copy of this PSMemberInfo |
| ToString() |
Returns the string representation of this property |