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 _
) 
[C++]
HRESULT __stdcall get_StartWorkingDirectory(
   /* [out, retval] */ BSTR* retVal
);
HRESULT __stdcall put_StartWorkingDirectory(
   /* [in] */ BSTR NewValue
);
[C#]
string StartWorkingDirectory {get; set;}
[JScript .NET]
public function get StartWorkingDirectory() : String
public function set StartWorkingDirectory(
   NewValue : String
)

Parameters

NewValue
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.

Remarks

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

Example

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)

Show:
© 2014 Microsoft