ContentCmdletProviderIntrinsics.GetWriter ContentCmdletProviderIntrinsics.GetWriter ContentCmdletProviderIntrinsics.GetWriter Method

Definition

Overloads

GetWriter(String) GetWriter(String) GetWriter(String)

Gets the content writer for the item(s) at the specified path.

GetWriter(String[], Boolean, Boolean) GetWriter(String[], Boolean, Boolean) GetWriter(String[], Boolean, Boolean)

Gets the content writer for the item(s) at the specified path.

GetWriter(String) GetWriter(String) GetWriter(String)

Gets the content writer for the item(s) at the specified path.

public System.Collections.ObjectModel.Collection<System.Management.Automation.Provider.IContentWriter> GetWriter (string path);
member this.GetWriter : string -> System.Collections.ObjectModel.Collection<System.Management.Automation.Provider.IContentWriter>
Public Function GetWriter (path As String) As Collection(Of IContentWriter)
Parameters
path
String String String

The path to the item(s) to get the content writer for.

Returns

The IContentWriter for the item(s) at the specified path.

Exceptions

If the path refers to a provider that could not be found.

If the path refers to a drive that could not be found.

If path does not contain glob characters and could not be found.

If the provider that the path refers to does not support this operation.

GetWriter(String[], Boolean, Boolean) GetWriter(String[], Boolean, Boolean) GetWriter(String[], Boolean, Boolean)

Gets the content writer for the item(s) at the specified path.

public System.Collections.ObjectModel.Collection<System.Management.Automation.Provider.IContentWriter> GetWriter (string[] path, bool force, bool literalPath);
member this.GetWriter : string[] * bool * bool -> System.Collections.ObjectModel.Collection<System.Management.Automation.Provider.IContentWriter>
Public Function GetWriter (path As String(), force As Boolean, literalPath As Boolean) As Collection(Of IContentWriter)
Parameters
path
String[]

The path(s) to the item(s) to get the content writer for.

force
Boolean Boolean Boolean

Passed on to providers to force operations.

literalPath
Boolean Boolean Boolean

If true, globbing is not done on paths.

Returns

The IContentWriter for the item(s) at the specified path.

Exceptions

If the path refers to a provider that could not be found.

If the path refers to a drive that could not be found.

If path does not contain glob characters and could not be found.

If the provider that the path refers to does not support this operation.

Applies to