Share via


SourceReferenceResolver.NormalizePath(String, String) Method

Definition

Normalizes specified source path with respect to base file path.

public:
 abstract System::String ^ NormalizePath(System::String ^ path, System::String ^ baseFilePath);
public abstract string NormalizePath (string path, string baseFilePath);
public abstract string? NormalizePath (string path, string? baseFilePath);
abstract member NormalizePath : string * string -> string
Public MustOverride Function NormalizePath (path As String, baseFilePath As String) As String

Parameters

path
String

The source path to normalize. May be absolute or relative.

baseFilePath
String

Path of the source file that contains the path (may also be relative), or null if not available.

Returns

Normalized path, or null if path can't be normalized. The resulting path doesn't need to exist.

Applies to