Share 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
public MimeNode ReplaceChild (
    MimeNode newChild,
    MimeNode oldChild
)
public:
MimeNode^ ReplaceChild (
    MimeNode^ newChild, 
    MimeNode^ oldChild
)
public MimeNode ReplaceChild (
    MimeNode newChild, 
    MimeNode oldChild
)
public function ReplaceChild (
    newChild : MimeNode, 
    oldChild : MimeNode
) : MimeNode

Parameters

  • newChild
    The MimeNode object to insert.
  • oldChild
    The MimeNode object to replace.

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.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003