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.

ContainerCmdletProvider.ConvertPath Method (String, String, String, String)

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Creates a new provider-specific path and filter (if any) that corresponds to the specified path. This method is introduced in Windows PowerShell 2.0.

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

protected virtual bool ConvertPath(
	string path,
	string filter,
	ref string updatedPath,
	ref string updatedFilter
)

Parameters

path
Type: System.String

The path to the item. This path may contain wildcards.

filter
Type: System.String

The provider-specific filter currently applied.

updatedPath
Type: System.String

The new path to the item.

updatedFilter
Type: System.String

The new filter associated with the created path.

Return Value

Type: System.Boolean

Returns Boolean value that indicates whether the new path was created.

For more information about implementing providers (including samples), see Writing a Windows PowerShell Provider.

Return to top

Community Additions

Show: