The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

LocalPath Property

Visual Studio .NET 2003

Returns the path of the project file. Read-only.

[Visual Basic .NET]
Public ReadOnly Property LocalPath() As String
[Visual Basic 6]
Property Get LocalPath() As String
HRESULT __stdcall get_LocalPath(
   /* [out, retval] */ BSTR* retVal
string LocalPath {get;}
[JScript .NET]
public function get LocalPath() : String

Return Value



The LocalPath is the directory where the project file is stored. This property is equivalent to the Project Folder property shown in the Properties window when the project name is selected in Solution Explorer.


See ProjectType Property.

See Also

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

Applies To: Properties Property (General Extensibility) | Properties Property (Visual Basic and Visual C# Project Object)

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft