Click or drag to resize

ToolsResolveUri Method (String, String)

Generic Helper Function which Resolves Uri References against a Base Uri.

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public static string ResolveUri(
	string uriref,
	string baseUri
)

Parameters

uriref
Type: SystemString
Uri Reference to resolve.
baseUri
Type: SystemString
Base Uri to resolve against.

Return Value

Type: String
Resolved Uri as a String.
Exceptions
ExceptionCondition
RdfParseExceptionRDF Parse Exception if the Uri cannot be resolved for a know reason.
UriFormatExceptionUri Format Exception if one/both of the URIs is malformed.
See Also