Share via


SourceReferenceResolver.ResolveReference(String, String) Method

Definition

Resolves specified path with respect to base file path.

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

Parameters

path
String

The path to resolve. 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 the file can't be resolved.

Applies to