Expand Minimize

PSMemberTypes Enumeration

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.dll)

Dim instance As PSMemberTypes

public enum PSMemberTypes
/** @attribute FlagsAttribute() */ 
public enum PSMemberTypes
public enum PSMemberTypes

Member nameDescription
AliasPropertyA property that is an alias (new name) for another property of the object.
AllAny member of the PSObject object.
CodeMethodA method that references a static method of the object.
CodePropertyA property that references a static property of the object.
DynamicAll dynamic members (where Windows PowerShell cannot determine the types of the members).
EventAn event of the PSObject object. This field is introduced in Windows PowerShell 2.0.
MemberSetA predefined collection of properties and methods of the object, such as PSObject.
MethodA method of the underlying object.
MethodsAll methods of the underlying object.
NotePropertyA property of the object with a static value. Note that properties are defined as a name-value pair, such as "Color=Blue".
ParameterizedPropertyA property of the object that takes parameters and parameter values.
PropertiesAll properties of the object.
PropertyA property of the underlying object.
PropertySetA predefined collection of object properties.
ScriptMethodA method whose value is the output of a script.
ScriptPropertyA property whose value is the output of a script.


Target Platforms

© 2014 Microsoft