All docs
V20.2
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

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.