OpenXmlElement.RemoveAnnotations 方法

定义

重载

RemoveAnnotations(Type)

从当前 OpenXmlElement 元素中删除指定类型的注释。

RemoveAnnotations<T>()

从当前 OpenXmlElement 元素中删除具有指定类型的批注。

RemoveAnnotations(Type)

从当前 OpenXmlElement 元素中删除指定类型的注释。

public void RemoveAnnotations (Type type);
member this.RemoveAnnotations : Type -> unit
Public Sub RemoveAnnotations (type As Type)

参数

type
Type

要删除的批注的类型。

适用于

RemoveAnnotations<T>()

从当前 OpenXmlElement 元素中删除具有指定类型的批注。

public void RemoveAnnotations<T> () where T : class;
member this.RemoveAnnotations : unit -> unit (requires 'T : null)
Public Sub RemoveAnnotations(Of T As Class) ()

类型参数

T

要删除的批注的类型。

适用于