共用方式為


ProjectInSolution.RelativePath Property

Gets the path to this project file, relative to the solution location.

Namespace:  Microsoft.Build.Construction
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

Syntax

'Declaration
Public Property RelativePath As String
public string RelativePath { get; internal set; }
public:
property String^ RelativePath {
    String^ get ();
    internal: void set (String^ value);
}
member RelativePath : string with get, internal set
function get RelativePath () : String 
internal function set RelativePath (value : String)

Property Value

Type: System.String
The path to this project file, relative to the solution location.

.NET Framework Security

See Also

Reference

ProjectInSolution Class

Microsoft.Build.Construction Namespace