IVstaHostAdapter.SetDebugInfo Method
Sets the specified debugging information for the project.
Namespace: Microsoft.VisualStudio.Tools.Applications.DesignTime.Interop
Assembly: Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0 (in Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0.dll)
Syntax
'Declaration
Sub SetDebugInfo ( _
exePath As String, _
commandLine As String, _
workingDir As String _
)
'Usage
Dim instance As IVstaHostAdapter
Dim exePath As String
Dim commandLine As String
Dim workingDir As String
instance.SetDebugInfo(exePath, commandLine, _
workingDir)
void SetDebugInfo(
string exePath,
string commandLine,
string workingDir
)
void SetDebugInfo(
String^ exePath,
String^ commandLine,
String^ workingDir
)
function SetDebugInfo(
exePath : String,
commandLine : String,
workingDir : String
)
Parameters
exePath
Type: System.StringThe full path of the application to run when the debugging session starts.
commandLine
Type: System.StringThe parameters to pass to the target application.
workingDir
Type: System.StringThe working directory of the target application.
Remarks
You can also set this information manually in the project template.
Add replacement variables to exePath, commandLine, and workingDir if you want these parameters to be supplied at run time.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Tools.Applications.DesignTime.Interop Namespace