ItemCmdletProvider.ExpandPath(String) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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()
- path
- String
The path to expand. Expansion must be consistent with the wildcarding rules of PowerShell's WildcardPattern class.
A list of provider paths that this path expands to. They must all exist.