Insert Method

Microsoft Robotics Studio

Insert XmlNode into document at the location of the xPath exression

Namespace: Microsoft.Dss.Core.Utilities
Assembly:  DssBase (in DssBase.dll)
Version: 1.5.507.0

Syntax

public bool Insert(
    string xPath,
    XmlNode childNode
)
'Declaration
Public Function Insert ( _
    xPath As String, _
    childNode As XmlNode _
) As Boolean
public:
bool Insert (
    String^ xPath, 
    XmlNode^ childNode
)

Parameters

  • xPath
    String
    XPath expression identifying insertion point. Only first match is used.
  • childNode
    XmlNode
    Child node to insert

Return Value

true if node was inserted; otherwise false.

See Also

CodeProject Class

Microsoft.Dss.Core.Utilities Namespace