ShowCommandParameterType Class

Definition

Implements a facade around ShowCommandParameterInfo and its deserialized counterpart.

public class ShowCommandParameterType
type ShowCommandParameterType = class
Public Class ShowCommandParameterType
Inheritance
ShowCommandParameterType

Constructors

Name Description
ShowCommandParameterType(PSObject)

Initializes a new instance of the ShowCommandParameterType class with the specified Type.

ShowCommandParameterType(Type)

Initializes a new instance of the ShowCommandParameterType class with the specified Type.

Properties

Name Description
ElementType

Gets the inner type, if this corresponds to an array type.

EnumValues

If this is an enum value, return the list of potential values.

FullName

The full name of the outermost type.

HasFlagAttribute

Whether or not this enum has a flag attribute.

ImplementsDictionary

Whether or not this type is an dictionary.

IsArray

Whether or not this type is an array type.

IsBoolean

Whether or not this type is a bool.

IsEnum

Whether or not this type is an enum.

IsScriptBlock

Whether or not this type is an script block.

IsString

Whether or not this type is a string.

IsSwitch

Whether or not this type is a switch parameter.

Applies to