2 out of 17 rated this helpful - Rate this topic

add Method

Creates a new namespace object and adds it to the collection.

Syntax

oNamespace = object.add(sNamespace [, sUrn] [, sUrl])

Parameters

sNamespace Required. String that specifies the name of the namespace.
sUrn Optional. String that specifies the Uniform Resource Name (URN) of the namespace to create.
sUrl Optional. String that specifies the URL of the element behavior to import into the namespace. Specifying this parameter is the same as calling the doImport method.

Return Value

Returns a namespace object.

Remarks

Adding a new namespace with the same name as an existing namespace will replace the existing namespace.

Standards Information

There is no public standard that applies to this method.

Applies To

namespaces, HTMLNamespaceInfoCollection Constructor

See Also

Did you find this helpful?
(1500 characters remaining)

Community Additions

© 2013 Microsoft. All rights reserved.