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.

ItemCmdletProvider.ExpandPath Method (String)

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Expands a provider path that contains wildcards to a list of provider paths. This method is called only for providers that declare ExpandWildcards capabilities. 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 string[] ExpandPath(
	string path
)

Parameters

path
Type: System.String

The provider path to expand. Expansion must be consistent with the functionality of the WildcardPattern class.

Return Value

Type: System.String[]

Returns String that contains a list of provider paths that this path expands to. All returned paths must exist.

Return to top

Community Additions

Show: