CoreCommandBase.DoesProviderSupportShouldProcess(String[]) Method
Definition
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.
A helper for derived classes to call to determine if the paths specified are for a provider that supports ShouldProcess.
protected:
bool DoesProviderSupportShouldProcess(cli::array <System::String ^> ^ paths);
protected:
bool DoesProviderSupportShouldProcess(Platform::Array <Platform::String ^> ^ paths);
bool DoesProviderSupportShouldProcess(std::Array <std::wstring const &> const & paths);
protected bool DoesProviderSupportShouldProcess (string[] paths);
member this.DoesProviderSupportShouldProcess : string[] -> bool
Protected Function DoesProviderSupportShouldProcess (paths As String()) As Boolean
Parameters
- paths
- String[]
The paths to check to see if the providers support ShouldProcess.
Returns
If the paths are to different providers, and any don't support ShouldProcess, then the return value is false. If they all support ShouldProcess then the return value is true.