Windows Dev Center

IDynamicParameters.GetDynamicParameters Method

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

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

Dim instance As IDynamicParameters
Dim returnValue As Object

returnValue = instance.GetDynamicParameters

Object^ GetDynamicParameters ()
Object GetDynamicParameters ()
function GetDynamicParameters () : Object

Return Value

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms

© 2015 Microsoft