PSMemberTypes Enum

Definition

Enumerates all possible types of members

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[System.Flags]
public enum PSMemberTypes
Inheritance
PSMemberTypes
Attributes

Fields

AliasProperty

An alias to another member

All

All member types

CodeMethod

A method defined as a reference to another method

CodeProperty

A property defined as a reference to a method

Dynamic

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

Event

All events

MemberSet

A set of members

Method

A method from the BaseObject

Methods

All method member types

NoteProperty

A prorperty defined by a Name-Value pair

ParameterizedProperty

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

Properties

All property member types

Property

A property from the BaseObject

PropertySet

A set of properties

ScriptMethod

A method defined as a script

ScriptProperty

A property defined by script language