次の方法で共有


OpenXmlCompositeElement.RemoveChild<T> Method (T)

Removes specified child element.

Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'宣言
Public Overrides Function RemoveChild(Of T As OpenXmlElement) ( _
    oldChild As T _
) As T
'使用
Dim instance As OpenXmlCompositeElement
Dim oldChild As T
Dim returnValue As T

returnValue = instance.RemoveChild(oldChild)
public override T RemoveChild<T>(
    T oldChild
)
where T : OpenXmlElement

Type Parameters

  • T

Parameters

  • oldChild
    Type: T
    The element being removed.

Return Value

Type: T
The element removed.

Remarks

No change if the (newChild == null). Just return null.

See Also

Reference

OpenXmlCompositeElement Class

OpenXmlCompositeElement Members

RemoveChild Overload

DocumentFormat.OpenXml Namespace