XmlReferenceResolver.ResolveReference(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.