namespaces Collection

This sample demonstrates how to programmatically retrieve the names for all namespaces within the primary document.

Indexdocument.namespaces.item(iIndex).namedocument.namespaces(iIndex).name



To view the source code, right-click this page and choose View Source from the shortcut menu that appears.

© 2007 Microsoft Corporation. All rights reserved. Terms of use.