Aracılığıyla paylaş


IXmlText Interface

Definition

Represents the text content of an element or attribute.

public interface class IXmlText : IXmlCharacterData
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(4180780235, 12429, 18272, 161, 213, 67, 182, 116, 80, 172, 126)]
struct IXmlText : IXmlCharacterData
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(4180780235, 12429, 18272, 161, 213, 67, 182, 116, 80, 172, 126)]
public interface IXmlText : IXmlCharacterData
Public Interface IXmlText
Implements IXmlCharacterData
Derived
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

Interface inheritance

IXmlText inherits IXmlCharacterData, IXmlNode, IXmlNodeSelector, and IXmlNodeSerializer. Types that implement IXmlText also implement the interface members of IXmlCharacterData, IXmlNode, IXmlNodeSelector, and IXmlNodeSerializer.

Properties

Attributes

Gets the list of attributes of this node.

(Inherited from IXmlNode)
ChildNodes

Gets a list of children in the current node.

(Inherited from IXmlNode)
Data

Gets or sets the node data depending on the node type.

(Inherited from IXmlCharacterData)
FirstChild

Gets the first child node.

(Inherited from IXmlNode)
InnerText

Gets and sets the text from inside the XML.

(Inherited from IXmlNodeSerializer)
LastChild

Gets the last child node.

(Inherited from IXmlNode)
Length

Gets the length of the data, in Unicode characters.

(Inherited from IXmlCharacterData)
LocalName

Gets the local name, which is the local part of a qualified name. This is called the local part in Namespaces in XML.

(Inherited from IXmlNode)
NamespaceUri

Returns the Uniform Resource Identifier (URI) for the namespace.

(Inherited from IXmlNode)
NextSibling

Gets the next sibling of the node in the parent's child list.

(Inherited from IXmlNode)
NodeName

Returns the qualified name for attribute, document type, element, entity, or notation nodes. Returns a fixed string for all other node types.

(Inherited from IXmlNode)
NodeType

Gets the XML Document Object Model (DOM) node type, which determines valid values and whether the node can have child nodes.

(Inherited from IXmlNode)
NodeValue

Gets or sets the text associated with the node.

(Inherited from IXmlNode)
OwnerDocument

Returns the root of the document that contains the node.

(Inherited from IXmlNode)
ParentNode

Gets the parent node of the node instance.

(Inherited from IXmlNode)
Prefix

Gets or sets the namespace prefix.

(Inherited from IXmlNode)
PreviousSibling

Gets the previous sibling of the node in the parent's child list.

(Inherited from IXmlNode)

Methods

AppendChild(IXmlNode)

Appends a new child node as the last child of the node.

(Inherited from IXmlNode)
AppendData(String)

Appends the supplied string to the existing string data.

(Inherited from IXmlCharacterData)
CloneNode(Boolean)

Clones a new node.

(Inherited from IXmlNode)
DeleteData(UInt32, UInt32)

Deletes specified data.

(Inherited from IXmlCharacterData)
GetXml()

Returns the XML representation of the node and all its descendants.

(Inherited from IXmlNodeSerializer)
HasChildNodes()

Determines whether a node has children.

(Inherited from IXmlNode)
InsertBefore(IXmlNode, IXmlNode)

Inserts a child node to the left of the specified node, or at the end of the list.

(Inherited from IXmlNode)
InsertData(UInt32, String)

Inserts a string at the specified offset.

(Inherited from IXmlCharacterData)
Normalize()

Normalizes all descendant elements by combining two or more adjacent text nodes into one unified text node.

(Inherited from IXmlNode)
RemoveChild(IXmlNode)

Removes the specified child node from the list of children and returns it.

(Inherited from IXmlNode)
ReplaceChild(IXmlNode, IXmlNode)

Replaces the specified old child node with the supplied new child node.

(Inherited from IXmlNode)
ReplaceData(UInt32, UInt32, String)

Replaces the specified number of characters with the supplied string.

(Inherited from IXmlCharacterData)
SelectNodes(String)

Applies the specified pattern-matching operation to this node's context and returns the list of matching nodes as an XmlNodeList.

(Inherited from IXmlNodeSelector)
SelectNodesNS(String, Object)

Applies the specified pattern-matching operation to this node's context and returns the list of matching nodes as an XmlNodeList.

(Inherited from IXmlNodeSelector)
SelectSingleNode(String)

Applies the specified pattern-matching operation to this node's context and returns the first matching node.

(Inherited from IXmlNodeSelector)
SelectSingleNodeNS(String, Object)

Applies the specified pattern-matching operation to this node's context and returns the first matching node.

(Inherited from IXmlNodeSelector)
SplitText(UInt32)

Splits this text node into two text nodes at the specified offset and inserts the new text node into the tree as a sibling that immediately follows this node.

SubstringData(UInt32, UInt32)

Retrieves a substring of the full string from the specified range.

(Inherited from IXmlCharacterData)

Applies to

See also