IDynamicParameters IDynamicParameters IDynamicParameters IDynamicParameters Interface


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

public interface class IDynamicParameters
public interface IDynamicParameters
type IDynamicParameters = interface
Public Interface IDynamicParameters


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.


GetDynamicParameters() GetDynamicParameters() GetDynamicParameters() GetDynamicParameters()

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

Applies to

See Also