PSMemberTypes Enumeration
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Defines the type of members that can be added to a PSObject object or any object that inherits from the PSObject class.
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation)
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation)
| Member name | Description |
|---|---|
| AliasProperty | A property that is alias (new name) for another property of the object. |
| All | Any member of the PSObject object. |
| CodeMethod | A method that references a static method of the object. |
| CodeProperty | A property that references a static property of the object. |
| Event | An event of the PSObject object. This field is introduced in Windows PowerShell 2.0. |
| MemberSet | A predefined collection of properties and methods of the object, such as PSBase, PSObject, and PSTypeNames. |
| Method | A method of the underlying object. |
| Methods | All method of the underlying object. |
| NoteProperty | A property of the object with a static value. Note properties are defined as a name-value pair, such as "Color=Blue". |
| ParameterizedProperty | A property of the object that takes parameters and parameter values. |
| Properties | All properties of the object. |
| Property | A property of the underlying object. |
| PropertySet | A predefined collection of object properties. |
| ScriptMethod | A method whose value is the output of a script. |
| ScriptProperty | A property whose value is the output of a script. |
For more information about the member that can be added to a PSObject object, see ETS Members.
Target Platforms
Windows Developer Preview, Windows Server Developer PreviewSend comments about this topic to Microsoft.