PSMemberTypes Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates all possible types of members.
This enumeration supports a bitwise combination of its member values.
public enum class PSMemberTypes
[System.Flags]
public enum PSMemberTypes
[System.Flags]
[System.ComponentModel.TypeConverter(typeof(System.Management.Automation.LanguagePrimitives+EnumMultipleTypeConverter))]
public enum PSMemberTypes
[<System.Flags>]
type PSMemberTypes =
[<System.Flags>]
[<System.ComponentModel.TypeConverter(typeof(System.Management.Automation.LanguagePrimitives+EnumMultipleTypeConverter))>]
type PSMemberTypes =
Public Enum PSMemberTypes
- Inheritance
-
PSMemberTypes
- Attributes
Fields
Name | Value | Description |
---|---|---|
AliasProperty | 1 | An alias to another member. |
CodeProperty | 2 | A property defined as a reference to a method. |
Property | 4 | A property from the BaseObject. |
NoteProperty | 8 | A property defined by a Name-Value pair. |
ScriptProperty | 16 | A property defined by script language. |
PropertySet | 32 | A set of properties. |
Method | 64 | A method from the BaseObject. |
CodeMethod | 128 | A method defined as a reference to another method. |
ScriptMethod | 256 | A method defined as a script. |
Methods | 448 | All method member types. |
ParameterizedProperty | 512 | A member that acts like a Property that takes parameters. This is not consider to be a property or a method. |
MemberSet | 1024 | A set of members. |
Event | 2048 | All events. |
Dynamic | 4096 | All dynamic members (where PowerShell cannot know the type of the member) |
InferredProperty | 8192 | Members that are inferred by type inference for PSObject and hashtable. |
Properties | 8223 | All property member types. |
All | 16383 | All member types. |