Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IContentCmdletProvider.GetContentWriterDynamicParameters Method (String)

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Retrieves any additional parameters that are required by this implementation of the Set-Content cmdlet.

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

object GetContentWriterDynamicParameters(
	string path
)

Parameters

path
Type: System.String

Path to the item to be written to.

Return Value

Type: System.Object

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

This method is called before the GetContentWriter method is called to dynamically add parameters to the Set-Content cmdlet.

In this context, an item is something that contains content within a data store. For example, the FileSystem provider exposes the contents of a file through a content reader and a content writer.

Return to top

Community Additions

Show: