XMLNode Class (2007 System)

Represents a single XML node on a document that exposes events and that can be bound to data.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)

Syntax

'Declaration
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public NotInheritable Class XMLNode _
    Inherits RemoteBindableComponent _
    Implements ISupportInitializeControl, ISupportInitialize
'Usage
Dim instance As XMLNode
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class XMLNode : RemoteBindableComponent, 
    ISupportInitializeControl, ISupportInitialize
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
public ref class XMLNode sealed : public RemoteBindableComponent, 
    ISupportInitializeControl, ISupportInitialize
public final class XMLNode extends RemoteBindableComponent implements ISupportInitializeControl, ISupportInitialize

Remarks

Visual Studio Tools for Office creates an XMLNode control for elements that are allowed to appear only once in a document (when the schema specifies maxOccurs = 1 for that element).

For more information, see XMLNode Control and How to: Add XMLNode Controls to Word Documents.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Tools.Office.RemoteComponent
    Microsoft.VisualStudio.Tools.Office.RemoteBindableComponent
      Microsoft.Office.Tools.Word.XMLNode

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

XMLNode Members

Microsoft.Office.Tools.Word Namespace

Other Resources

XMLNode Control

How to: Add XMLNode Controls to Word Documents