OpenXmlElement.RemoveAnnotations 方法    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| RemoveAnnotations(Type) | 从当前 OpenXmlElement 元素中删除指定类型的注释。 | 
| RemoveAnnotations<T>() | 从当前 OpenXmlElement 元素中删除具有指定类型的批注。 | 
RemoveAnnotations(Type)
从当前 OpenXmlElement 元素中删除指定类型的注释。
public void RemoveAnnotations(Type type);member this.RemoveAnnotations : Type -> unitPublic 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
要删除的批注的类型。