Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PSAliasProperty Constructor

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Creates a new instance of the PSAliasProperty class with the name of the alias and the referenced extended property. The variants of this constructor can be used to create the class with or without the .NET Framework type that is used to convert the referenced property value.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

NameDescription
System_CAPS_pubmethodPSAliasProperty(String, String)

Creates a new instance of the PSAliasProperty class with the name of the alias and the name of the extended property that this alias refers to.

System_CAPS_pubmethodPSAliasProperty(String, String, Type)

Creates a new instance of the PSAliasProperty class with the name of the alias, the name of the extended property that this alias refers to, and the .NET Framework type that is used to convert the referenced property value.

For more information about alias properties in addition to other property types that are defined by the extended type system (ETS), see ETS Properties [ps]. For more information about the extended type system (ETS), see Windows PowerShell Extended Type System (ETS) [ps].

Return to top

Community Additions

Show: