Share via


XmlReferenceResolver.ResolveReference(String, String) Method

Definition

Resolves specified XML reference 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 reference path to resolve. May be absolute or relative path.

baseFilePath
String

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

Returns

Path to the XML artifact, or null if the file can't be resolved.

Applies to