Sdílet prostřednictvím


ContainerCmdletProvider.GetChildNamesDynamicParameters(String) Method

Definition

Gives the provider an opportunity to attach additional parameters to the get-childitem -name cmdlet.

protected:
 virtual System::Object ^ GetChildNamesDynamicParameters(System::String ^ path);
protected:
 virtual Platform::Object ^ GetChildNamesDynamicParameters(Platform::String ^ path);
 virtual winrt::Windows::Foundation::IInspectable GetChildNamesDynamicParameters(std::wstring const & path);
protected virtual object GetChildNamesDynamicParameters (string path);
abstract member GetChildNamesDynamicParameters : string -> obj
override this.GetChildNamesDynamicParameters : string -> obj
Protected Overridable Function GetChildNamesDynamicParameters (path As 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.

Returns

Overrides of this method should return an object that has properties and fields decorated with parsing attributes similar to a cmdlet class or a RuntimeDefinedParameterDictionary.

The default implementation returns null. (no additional parameters)

Applies to