Export (0) Print
Expand All
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)

'Usage
Dim instance As PSMemberTypes

[FlagsAttribute] 
public enum PSMemberTypes
/** @attribute FlagsAttribute() */ 
public enum PSMemberTypes
FlagsAttribute 
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

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft