Compartir a través de


OpenXmlCompositeElement.RemoveChild<T>(T) Método

Definición

Quita el elemento secundario especificado.

public override T RemoveChild<T> (T child) where T : DocumentFormat.OpenXml.OpenXmlElement;
public override T? RemoveChild<T> (T? child) where T : DocumentFormat.OpenXml.OpenXmlElement;
public override T RemoveChild<T> (T oldChild) where T : DocumentFormat.OpenXml.OpenXmlElement;
public override T? RemoveChild<T> (T? oldChild) where T : DocumentFormat.OpenXml.OpenXmlElement;
override this.RemoveChild : 'T -> 'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlElement)
override this.RemoveChild : 'T -> 'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlElement)
Public Overrides Function RemoveChild(Of T As OpenXmlElement) (child As T) As T
Public Overrides Function RemoveChild(Of T As OpenXmlElement) (oldChild As T) As T

Parámetros de tipo

T

Parámetros

childoldChild
T

Elemento que se va a quitar. Debe ser un elemento secundario de este elemento.

Devoluciones

T

Elemento que se quitó.

Comentarios

Devuelve null si child es null.

Se aplica a