IDynamicParameters Interface

Definition

An interface that a Cmdlet or CmdletProvider must implement to indicate that it has dynamic parameters.

public interface IDynamicParameters
Derived

Remarks

Dynamic parameters allow a Cmdlet or CmdletProvider to define additional parameters based on the value of the formal arguments. For example, the parameters of "set-itemproperty" for the file system provider vary depending on whether the target object is a file or directory.

Methods

GetDynamicParameters()

Returns an instance of an object that defines the dynamic parameters for this Cmdlet or CmdletProvider.