Export (0) Print
Expand All
Expand Minimize

StartWorkingDirectory Property

Visual Studio .NET 2003

Specifies the working directory of the program being debugged.

[Visual Basic .NET]
Public Property StartWorkingDirectory() As String
[Visual Basic 6]
Property Get StartWorkingDirectory() As String
Property Let StartWorkingDirectory( _
   ByVal NewValue As String _
HRESULT __stdcall get_StartWorkingDirectory(
   /* [out, retval] */ BSTR* retVal
HRESULT __stdcall put_StartWorkingDirectory(
   /* [in] */ BSTR NewValue
string StartWorkingDirectory {get; set;}
[JScript .NET]
public function get StartWorkingDirectory() : String
public function set StartWorkingDirectory(
   NewValue : String


A directory name.

Return Value

The project system does not check the validity of the directory when the property is set. The common language runtime will raise an error at run time if the directory is invalid.


This property is only meaningful if the StartAction property is prjStartActionProject or prjStartActionProgram.


See StartAction Property.

See Also

Debugging, Configuration Properties, <Projectname> Property Pages Dialog Box (Visual C#) | Debugging, Configuration Properties, <Projectname> Property Pages Dialog Box (Visual Basic)

Applies To: Properties Property (Visual Basic and Visual C# Configuration Object)

© 2014 Microsoft