XMLNamespaces XMLNamespaces XMLNamespaces Interface


A collection of XMLNamespace objects that represents the entire collection of schemas in the Schema Library.

public interface class XMLNamespaces : System::Collections::IEnumerable
public interface XMLNamespaces : System.Collections.IEnumerable
Public Interface XMLNamespaces
Implements IEnumerable


In Microsoft Word, you can access the Schema Library from the XML Schema tab in the Templates and Add-ins dialog box. The Schema Library represents schemas installed on a user's machine that a user has applied to a Word document or that a user has explicitly added to the Schema Library by using the Schema Library dialog box.

Use the Item[Object] property of the XMLNamespaces collection to return an individual XMLNameSpace object. The index value of the Item property can be either an Integer, which indicates the position of the schema in the Schema Library, or a String, which represents the name of the schema as returned by using the URI property (the TargetNamespace setting defined in the schema).


Application Application Application

Returns a Application object that represents the Microsoft Word application.

Count Count Count

Returns the number of items in the specified collection.

Creator Creator Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

Item[Object] Item[Object] Item[Object]

Returns an individual object in a collection.

Parent Parent Parent

Returns an object that represents the parent object of the specified object.


Add(String, Object, Object, Boolean) Add(String, Object, Object, Boolean) Add(String, Object, Object, Boolean)

Returns a XMLNamespace object that represents a schema that is added to the Schema Library and made available to users in Microsoft Word.

GetEnumerator() GetEnumerator() GetEnumerator()
InstallManifest(String, Boolean) InstallManifest(String, Boolean) InstallManifest(String, Boolean)

Installs the specified XML expansion pack on the user's computer, making an XML smart document solution available to one or more users.

Applies to