Share via


XMLNode Members (2007 System)

Include Protected Members
Include Inherited Members

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

The XMLNode type exposes the following members.

Constructors

 

Name

Description

Public method

XMLNode

Infrastructure. Overloaded.

Top

Methods

 

Name

Description

Public method

BeginInit

Infrastructure.

Protected method

CheckValidState

(Inherited from RemoteComponent.)

Public method

Copy

Copies the contents of the XMLNode control to the Clipboard.

Public method

Cut

Removes the contents of the XMLNode control and places the contents onto the Clipboard.

Public method

Dispose

Overloaded.

Public method

EndInit

Infrastructure.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

(Inherited from RemoteComponent.)

Public method

get_ValidationErrorText

Infrastructure.

Public method

get_XML

Infrastructure.

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Protected method

GetHostItem<T>

(Inherited from RemoteComponent.)

Protected method

GetService

(Inherited from RemoteComponent.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

InitializeControl

(Inherited from RemoteComponent.)

Public method

Load

Updates an XMLNode control with data from the specified XML file

Public method

LoadXml

Overloaded. Populates an XMLNode control with data.

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Protected method

OnBindingContextChanged

Infrastructure. (Inherited from RemoteBindableComponent.)

Public method

RemoveChild

Removes the specified child element from the XMLNode control.

Public method

SelectNodes

Gets a XMLNodes collection that represents all the nodes that match the XPath parameter in the order in which they appear in the Microsoft.Office.Tools.Word.XMLNode control.

Public method

SelectSingleNode

Gets a XMLNode object that represents the first child node that matches the XPath parameter in the Microsoft.Office.Tools.Word.XMLNode control.

Protected method

SetPrimaryCookie

(Inherited from RemoteComponent.)

Public method

SetValidationError

Changes the validation error text displayed to a user for an XMLNode control and forces Microsoft Office Word to report a node as invalid.

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Public method

Validate

Validates an individual XMLNode control against the attached XML schema or schemas.

Top

Properties

 

Name

Description

Public property

Application

Gets an Application that represents the creator of the XMLNode control.

Public property

Attributes

Gets a XMLNodes collection that represents the attributes for the XMLNode control.

Public property

BaseName

Gets the name of the XMLNode control without any prefix.

Public property

BindingContext

Gets or sets the System.Windows.Forms.BindingContext for the component. (Inherited from RemoteBindableComponent.)

Public property

ChildNodes

Gets a XMLNodes collection that represents the child elements of an XMLNode control.

Public property

ChildNodeSuggestions

Gets an XMLChildNodeSuggestions collection that represents the elements that may be valid children of the current XMLNode control.

Public property

Container

(Inherited from RemoteComponent.)

Public property

ContainerComponent

Infrastructure. (Inherited from RemoteBindableComponent.)

Public property

Creator

Gets the application in which the XMLNode control was created.

Public property

DataBindings

Gets the Binding objects for the component. (Inherited from RemoteBindableComponent.)

Public property

DefaultDataSourceUpdateMode

Gets or sets the default DataSourceUpdateMode for the component. (Inherited from RemoteBindableComponent.)

Protected property

DesignMode

(Inherited from RemoteComponent.)

Public property

FirstChild

Gets a XMLNode object that represents the first child node in the Microsoft.Office.Tools.Word.XMLNode control.

Public property

HasChildNodes

Gets a value that indicates whether the XMLNode control has child elements.

Protected property

HostContext

(Inherited from RemoteComponent.)

Protected property

Identifier

(Inherited from RemoteComponent.)

Public property

InnerObject

Gets a XMLNode that represents the underlying native object for the XMLNode.

Protected property

InnerType

(Inherited from RemoteComponent.)

Protected property

ItemProvider

(Inherited from RemoteComponent.)

Public property

LastChild

Gets a XMLNode object that represents the last child node of the Microsoft.Office.Tools.Word.XMLNode control.

Public property

Level

Gets the level of the XMLNode control.

Public property

NamespaceURI

Gets the Uniform Resource Identifier (URI) of the schema namespace for the XMLNode control.

Public property

NextSibling

Gets a XMLNode object that represents the next XMLNode object in the document that is at the same level as the Microsoft.Office.Tools.Word.XMLNode control.

Public property

NodeText

Gets or sets the text value of the XMLNode control.

Public property

NodeType

Gets a value that indicates whether an XMLNode is an attribute or an element.

Public property

NodeValue

Gets or sets the value of an XMLNode that represents an attribute.

Public property

OwnerDocument

Gets a Document that represents the parent document of the specified XMLNode control.

Public property

Parent

Gets a Document that represents the document containing the specified XMLNode control.

Public property

ParentNode

Gets a XMLNode object that represents the parent element of the specified Microsoft.Office.Tools.Word.XMLNode control.

Public property

PlaceholderText

Gets or sets the text displayed for an XMLNode control that contains no text.

Public property

PreviousSibling

Gets a XMLNode object that represents the previous XMLNode object in the document that is at the same level as the Microsoft.Office.Tools.Word.XMLNode control.

Protected property

PrimaryCookie

(Inherited from RemoteComponent.)

Public property

Range

Gets a Range object that represents the portion of a document that is contained in the XMLNode control.

Public property

Site

(Inherited from RemoteComponent.)

Public property

SmartTag

Gets a SmartTag object that represents the smart tag associated with the XMLNode control.

Public property

Tag

(Inherited from RemoteComponent.)

Public property

Text

Gets or sets the plain unformatted text of the XMLNode control.

Public property

ValidationErrorText

Gets a string that represents the description for a validation error on an XMLNode control.

Public property

ValidationStatus

Gets a value that specifies whether an element or attribute is valid according to the attached schema.

Public property

WordOpenXML

Gets an XML string that represents the XMLNode in the Microsoft Office Word Open XML format.

Public property

XML

Gets a string that represents the XML text in the XMLNode control.

Top

Events

 

Name

Description

Public event

AfterInsert

Occurs when the user adds a new XMLNode control to the document.

Public event

BeforeDelete

Occurs when the user deletes an XMLNode control from the document, before the control is deleted.

Public event

BindingContextChanged

Occurs when the value of the BindingContext property changes. (Inherited from RemoteBindableComponent.)

Public event

ContextEnter

Occurs when the cursor is placed inside an XMLNode or one of its descendent nodes, from an area outside of the context of the node.

Public event

ContextLeave

Occurs when the cursor is moved from the XMLNode control, or one of its descendent nodes, to an area outside of the context of the original node.

Public event

Deselect

Occurs when the cursor is moved out of the XMLNode control.

Public event

Disposed

(Inherited from RemoteComponent.)

Public event

Select

Occurs when the cursor is placed inside an XMLNode control.

Public event

ValidationError

Occurs when there is a validation error in the XMLNode control.

Top

Explicit Interface Implementations

 

Name

Description

Explicit interface implemetationPrivate method

ISupportInitializeControl.InitializeControl

Infrastructure.

Top

See Also

Reference

XMLNode Class

Microsoft.Office.Tools.Word Namespace