Partager via


MimeNode.ReplaceChild Method

The ReplaceChild method replaces a specified MimeNode child object with another specified MimeNode object.

Namespace:  Microsoft.Exchange.Data.Mime
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Function ReplaceChild ( _
    newChild As MimeNode, _
    oldChild As MimeNode _
) As MimeNode
'Usage
Dim instance As MimeNode
Dim newChild As MimeNode
Dim oldChild As MimeNode
Dim returnValue As MimeNode

returnValue = instance.ReplaceChild(newChild, _
    oldChild)
public MimeNode ReplaceChild(
    MimeNode newChild,
    MimeNode oldChild
)

Parameters