BaseGraphCreateUriNode Method (Uri) |
Creates a new URI Node with the given URI.
Namespace:
VDS.RDF
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax public virtual IUriNode CreateUriNode(
Uri uri
)
Public Overridable Function CreateUriNode (
uri As Uri
) As IUriNode
Parameters
- uri
- Type: SystemUri
URI for the Node.
Return Value
Type:
IUriNode[Missing <returns> documentation for "M:VDS.RDF.BaseGraph.CreateUriNode(System.Uri)"]
Implements
INodeFactoryCreateUriNode(Uri)Remarks
Generally we expect to be passed an absolute URI, while relative URIs are permitted the behaviour is less well defined. If there is a Base URI defined for the Graph then relative URIs will be automatically resolved against that Base, if the Base URI is not defined then relative URIs will be left as is. In this case issues may occur when trying to serialize the data or when accurate round tripping is required.
See Also