PSMemberTypes Enum


Enumerates all possible types of members

This enumeration supports a bitwise combination of its member values.

public enum class PSMemberTypes
public enum PSMemberTypes
type PSMemberTypes = 
Public Enum PSMemberTypes


AliasProperty 1

An alias to another member

All 16383

All member types

CodeMethod 128

A method defined as a reference to another method

CodeProperty 2

A property defined as a reference to a method

Dynamic 4096

All dynamic members (where PowerShell cannot know the type of the member)

Event 2048

All events

InferredProperty 8192
MemberSet 1024

A set of members

Method 64

A method from the BaseObject

Methods 448

All method member types

NoteProperty 8

A property defined by a Name-Value pair

ParameterizedProperty 512

A member that acts like a Property that takes parameters. This is not consider to be a property or a method.

Properties 8223

All property member types

Property 4

A property from the BaseObject

PropertySet 32

A set of properties

ScriptMethod 256

A method defined as a script

ScriptProperty 16

A property defined by script language

Applies to