RegistryProvider.SetPropertyDynamicParameters(String, PSObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gives the provider a chance to attach additional parameters to the get-itemproperty cmdlet.
public:
virtual System::Object ^ SetPropertyDynamicParameters(System::String ^ path, System::Management::Automation::PSObject ^ propertyValue);
public object SetPropertyDynamicParameters (string path, System.Management.Automation.PSObject propertyValue);
override this.SetPropertyDynamicParameters : string * System.Management.Automation.PSObject -> obj
Public Function SetPropertyDynamicParameters (path As String, propertyValue As PSObject) As Object
Parameters
- path
- String
If the path was specified on the command line, this is the path to the item to get the dynamic parameters for.
- propertyValue
- PSObject
A PSObject which contains a collection of the name, type, value of the properties to be set.
Returns
An object that has properties and fields decorated with parsing attributes similar to a cmdlet class.