Freigeben über


PSMemberTypes Enum

Definition

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

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

Members that are inferred by type inference for PSObject and hashtable.

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