OpenXmlElement.RemoveAnnotations 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.
Overloads
RemoveAnnotations(Type) |
Removes the annotations of the specified type from the current OpenXmlElement element. |
RemoveAnnotations<T>() |
Removes the annotations with the specified type from the current OpenXmlElement element. |
RemoveAnnotations(Type)
Removes the annotations of the specified type from the current OpenXmlElement element.
public void RemoveAnnotations (Type type);
member this.RemoveAnnotations : Type -> unit
Public Sub RemoveAnnotations (type As Type)
Parameters
- type
- Type
The type of the annotations to remove.
Applies to
RemoveAnnotations<T>()
Removes the annotations with the specified type from the current OpenXmlElement element.
public void RemoveAnnotations<T> () where T : class;
member this.RemoveAnnotations : unit -> unit (requires 'T : null)
Public Sub RemoveAnnotations(Of T As Class) ()
Type Parameters
- T
The type of the annotations to remove.