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
)
Public Shared Function ResolveUri (
uriref As String,
baseUri As String
) As String
Parameters
- uriref
- Type: SystemString
Uri Reference to resolve. - baseUri
- Type: SystemString
Base Uri to resolve against.
Return Value
Type:
StringResolved Uri as a String.
Exceptions Exception | Condition |
---|
RdfParseException | RDF Parse Exception if the Uri cannot be resolved for a know reason. |
UriFormatException | Uri Format Exception if one/both of the URIs is malformed. |
See Also