Compartilhar via


IContentCmdletProvider.GetContentWriterDynamicParameters(String) Method

Definition

Gives the provider an opportunity to attach additional parameters to the set-content and add-content cmdlet.

public:
 System::Object ^ GetContentWriterDynamicParameters(System::String ^ path);
public:
 Platform::Object ^ GetContentWriterDynamicParameters(Platform::String ^ path);
winrt::Windows::Foundation::IInspectable GetContentWriterDynamicParameters(std::wstring const & path);
public object GetContentWriterDynamicParameters (string path);
public object? GetContentWriterDynamicParameters (string path);
abstract member GetContentWriterDynamicParameters : string -> obj
Public Function GetContentWriterDynamicParameters (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