Partager via


ILaunchDebugService3.GetLaunchDebugTargetProviderByTargetPath Method

Definition

Return a debug target provider for a file path

public:
 bool GetLaunchDebugTargetProviderByTargetPath(System::String ^ filePath, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Workspace::Debug::ILaunchDebugTargetProvider ^ % provider);
public bool GetLaunchDebugTargetProviderByTargetPath (string filePath, out Microsoft.VisualStudio.Workspace.Debug.ILaunchDebugTargetProvider provider);
public bool GetLaunchDebugTargetProviderByTargetPath (string filePath, out Microsoft.VisualStudio.Workspace.Debug.ILaunchDebugTargetProvider? provider);
abstract member GetLaunchDebugTargetProviderByTargetPath : string * ILaunchDebugTargetProvider -> bool
Public Function GetLaunchDebugTargetProviderByTargetPath (filePath As String, ByRef provider As ILaunchDebugTargetProvider) As Boolean

Parameters

filePath
String

The file path of that target

provider
ILaunchDebugTargetProvider

A provider that is capable to launch the target being passed

Returns

true if the target provider was found

Applies to