ResolveUri()

XmlPreloadedResolver::ResolveUri(SharedPtr<Uri>, String) method

Resolves the absolute URI from the base and relative URIs.

SharedPtr<Uri> System::Xml::Resolvers::XmlPreloadedResolver::ResolveUri(SharedPtr<Uri> baseUri, String relativeUri) override

Arguments

ParameterTypeDescription
baseUriSharedPtr<Uri>The base URI used to resolve the relative URI.
relativeUriStringThe URI to resolve. The URI can be absolute or relative. If absolute, this value effectively replaces the baseUri value. If relative, it combines with the baseUri to make an absolute URI.

Return Value

The Uri representing the absolute URI or nullptr if the relative URI cannot be resolved.

See Also