Skip to main content

AddNamespace

«AddNamespace(namespace_name,[namespace_name],…,[namespace_name])»

Adds specified namespace references (passed as a parameter to this Text Command) to the active file if these namespaces are not already referenced.

Position Parameter Description
1 Namespace name The name of the namespace to reference
2, 3, …, 8 Namespace name (optional) Coma-separated namespace names

An alternative way to specify the dependent namespaces is described in the Referencing Namespaces article.