Partager via


MethodParameterBindings Enum

Definition

Describes how to handle the method parameter.

This enumeration supports a bitwise combination of its member values.

public enum class MethodParameterBindings
public enum class MethodParameterBindings
enum MethodParameterBindings
[System.Flags]
public enum MethodParameterBindings
[<System.Flags>]
type MethodParameterBindings = 
Public Enum MethodParameterBindings
Inheritance
MethodParameterBindings
Attributes

Fields

Name Value Description
In 1

Bind value of a method parameter based on arguments of a cmdlet parameter.

Out 2

Method invocation is expected to set the value of the method parameter. Cmdlet should emit the value of method parameter to the downstream pipe.

Error 4

Method invocation is expected to set the value of the method parameter. Cmdlet should emit a non-terminating error when the value evaluates to $true.

Applies to