AbsolutePath Constructors

Definition

Overloads

Name Description
AbsolutePath(String)

Initializes a new instance of the AbsolutePath struct.

AbsolutePath(String, AbsolutePath)

Initializes a new instance of the AbsolutePath struct by combining an absolute path with a relative path.

AbsolutePath(String)

Source:
AbsolutePath.cs
Source:
AbsolutePath.cs

Initializes a new instance of the AbsolutePath struct.

public:
 AbsolutePath(System::String ^ path);
public AbsolutePath(string path);
new Microsoft.Build.Framework.AbsolutePath : string -> Microsoft.Build.Framework.AbsolutePath
Public Sub New (path As String)

Parameters

path
String

The absolute path string.

Exceptions

Thrown if path is null, empty, or not a rooted path.

Applies to

AbsolutePath(String, AbsolutePath)

Source:
AbsolutePath.cs
Source:
AbsolutePath.cs

Initializes a new instance of the AbsolutePath struct by combining an absolute path with a relative path.

public:
 AbsolutePath(System::String ^ path, Microsoft::Build::Framework::AbsolutePath basePath);
public AbsolutePath(string path, Microsoft.Build.Framework.AbsolutePath basePath);
new Microsoft.Build.Framework.AbsolutePath : string * Microsoft.Build.Framework.AbsolutePath -> Microsoft.Build.Framework.AbsolutePath
Public Sub New (path As String, basePath As AbsolutePath)

Parameters

path
String

The path to combine with the base path.

basePath
AbsolutePath

The base path to combine with.

Exceptions

Thrown if path is null or empty.

Applies to