Click or drag to resize

XHtmlRdfAVocabularyAddNamespace Method

Adds a Namespace to the Vocabulary.

Namespace:  VDS.RDF.Parsing
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public void AddNamespace(
	string prefix,
	string nsUri
)

Parameters

prefix
Type: SystemString
Prefix.
nsUri
Type: SystemString
Namespace URI.

Implements

IRdfAVocabularyAddNamespace(String, String)
Exceptions
ExceptionCondition
NotSupportedExceptionThrown since this vocabulary is fixed and cannot be changed.
See Also