RegistryProvider.GetPropertyDynamicParameters Method

Definition

Gives the provider a chance to attach additional parameters to the get-itemproperty cmdlet.

public:
 virtual System::Object ^ GetPropertyDynamicParameters(System::String ^ path, System::Collections::ObjectModel::Collection<System::String ^> ^ providerSpecificPickList);
public object GetPropertyDynamicParameters (string path, System.Collections.ObjectModel.Collection<string> providerSpecificPickList);
override this.GetPropertyDynamicParameters : string * System.Collections.ObjectModel.Collection<string> -> obj
Public Function GetPropertyDynamicParameters (path As String, providerSpecificPickList As Collection(Of String)) 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.

providerSpecificPickList
Collection<String>

A list of properties that should be retrieved. If this parameter is null or empty, all properties should be retrieved.

Returns

An object that has properties and fields decorated with parsing attributes similar to a cmdlet class.

Implements

Applies to