次の方法で共有


ToolLocationHelper.PathToSystem Property

Gets the fully qualified path of the system directory.

MSBuild is now included in Visual Studio instead of the .NET Framework.You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Utilities
Assembly:  Microsoft.Build.Utilities.Core (in Microsoft.Build.Utilities.Core.dll)

Syntax

'Declaration
Public Shared ReadOnly Property PathToSystem As String
public static string PathToSystem { get; }
public:
static property String^ PathToSystem {
    String^ get ();
}
static member PathToSystem : string with get
static function get PathToSystem () : String

Property Value

Type: System.String
A string containing a directory path to the system directory.

Remarks

An example of the value returned is the string "C:\WinNT\System32".

.NET Framework Security

See Also

Reference

ToolLocationHelper Class

Microsoft.Build.Utilities Namespace