Diese Dokumentation wurde archiviert und wird nicht länger gepflegt.

XMLNamespaces Interface

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

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Public Class mLNamespacesImplementation
	Implements XMLNamespaces
End Class
Dim mLNamespacesImplementation1 As New mLNamespacesImplementation()

public interface XMLNamespaces : IEnumerable
public interface XMLNamespaces implements 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 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).

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms