DynamicKeywordBodyMode Enum

Definition

Defines the body mode for a dynamic keyword. It can be a scriptblock, hashtable or command which means no body.

public enum class DynamicKeywordBodyMode
public enum DynamicKeywordBodyMode
type DynamicKeywordBodyMode = 
Public Enum DynamicKeywordBodyMode
Inheritance
DynamicKeywordBodyMode

Fields

Name Value Description
Command 0

The keyword act like a command.

ScriptBlock 1

The keyword has a scriptblock body.

Hashtable 2

The keyword has hashtable body.

Applies to