ItemCmdletProvider.ExpandPath(String) ItemCmdletProvider.ExpandPath(String) ItemCmdletProvider.ExpandPath(String) ItemCmdletProvider.ExpandPath(String) ItemCmdletProvider.ExpandPath(String) ItemCmdletProvider.ExpandPath(String) 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 cli::array <System::String ^> ^ ExpandPath(System::String ^ path);
protected:
 virtual Platform::Array <Platform::String ^> ^ ExpandPath(Platform::String ^ path);
 virtual std::Array <std::wstring const &> ExpandPath(std::wstring const & path);
protected virtual string[] ExpandPath (string path);
abstract member ExpandPath : string -> string[]
override this.ExpandPath : string -> string[]
Protected Overridable Function ExpandPath (path As String) As String()

Parameters

path
String String String String String 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.

Applies to