Defines the type of members that can be added to a
PSObject object.
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in system.management.automation.dll)
Dim instance As PSMemberTypes
<FlagsAttribute> _
Public Enumeration PSMemberTypes
[FlagsAttribute]
public enum PSMemberTypes
[FlagsAttribute]
public enum class PSMemberTypes
/** @attribute FlagsAttribute() */
public enum PSMemberTypes
FlagsAttribute
public enum PSMemberTypes
| Member name | Description |
|---|
| AliasProperty | An alias to another member of the PSObject object. |
| All | Any member type of the PSObject object. |
| CodeMethod | A method that is defined as a reference to another member of the PSObject object. |
| CodeProperty | A property that is defined as a reference to a method of the PSObject object. |
| Event | An event of the PSObject object. This field is introduced in Windows PowerShell 2.0. |
| MemberSet | A set of the members of the PSObject object. |
| Method | A method from the base object of the PSObject object. |
| Methods | All methods of the PSObject object. |
| NoteProperty | A property of the PSObject object that is defined by a name-value pair. |
| ParameterizedProperty | A property of the PSObject object that takes parameters. |
| Properties | All properties of the PSObject object. |
| Property | A property from the base object of the PSObject object. |
| PropertySet | A set of properties (of the same type) of the PSObject object. |
| ScriptMethod | A method of the PSObject object that is defined by a script language. |
| ScriptProperty | A property of the PSObject object that is defined by a script language. |
For more information about the member that can be added to a PSObject object, see ETS Members.
Development Platforms
Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP, Windows 7, Windows 2008 R2 Target Platforms
Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP, Windows 7, Windows 2008 R2