ItemCmdletProvider.ExpandPath Method

Definition

Expand a provider path that contains wildcards to a list of provider paths that the path represents.Only called for providers that declare the ExpandWildcards capability.

protected virtual string[] ExpandPath (string path);
Parameters
path
String

The path to expand. Expansion must be consistent with the wildcarding rules of PowerShell's WildcardPattern class.

Returns
String[]

A list of provider paths that this path expands to. They must all exist.