MethodParameter Class

Definition

Parameter of a method in an object model wrapped by CmdletAdapter<TObjectInstance>

public ref class MethodParameter sealed
public ref class MethodParameter sealed
class MethodParameter sealed
public sealed class MethodParameter
type MethodParameter = class
Public NotInheritable Class MethodParameter
Inheritance
MethodParameter

Constructors

MethodParameter()

Properties

Bindings

Bindings of the method parameter (in/out/error)

IsValuePresent

Whether the value is 1) an explicit default () or 2) has been bound from cmdlet parameter () explicit default = whatever was in DefaultValue attribute in Cmdletization XML.

Name

Name of the method parameter.

ParameterType

Type of the parameter (as seen in the PowerShell layer on the client)

ParameterTypeName

Contents of the ETS type attribute in the CDXML file (or null if that attribute was not specified). The expectation is that the CmdletAdapter will stamp this value onto PSTypeNames of emitted objects.

Value

Value of the argument of the method parameter.

Applies to