OpenXmlElement.RemoveChild<T>(T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the specified child element from the current element's list of child elements.
public virtual T RemoveChild<T> (T oldChild) where T : DocumentFormat.OpenXml.OpenXmlElement;
public virtual T RemoveChild<T> (T? oldChild) where T : DocumentFormat.OpenXml.OpenXmlElement;
public virtual T? RemoveChild<T> (T? oldChild) where T : DocumentFormat.OpenXml.OpenXmlElement;
abstract member RemoveChild : 'T -> 'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlElement)
override this.RemoveChild : 'T -> 'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlElement)
Public Overridable Function RemoveChild(Of T As OpenXmlElement) (oldChild As T) As T
Type Parameters
- T
Parameters
- oldChild
- T
The child element to remove.
Returns
T
The element that was removed.
Applies to
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla