Bagikan melalui


CoreCommandBase.DoesProviderSupportShouldProcess(String[]) Method

Definition

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.

Applies to