The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IDynamicParameters.GetDynamicParameters Method ()


Updated: April 27, 2016

Applies To: Windows PowerShell

Gets an object that defines the dynamic parameters of a cmdlet.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

object GetDynamicParameters()

Return Value

Type: System.Object

An instance of an object that defines the dynamic parameters for the cmdlet.

This method should return an object that has properties and fields with parameter related attributes similar to those define in a cmdlet class or a RuntimeDefinedParameterDictionary object. Examples of these parsing attributes include the Parameter attribute, the Alias attribute, as well as argument transformation and validation attributes.

Return to top

Community Additions