This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Gets the first annotation object of the specified type from this PartContainer.
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
'Declaration Public Function Annotation(Of T As Class) As T
'Usage Dim instance As OpenXmlPartContainer Dim returnValue As T returnValue = instance.Annotation()
public T Annotation<T>() where T : class
Specifies the Type of the annotation to retrieve.
Returns the first annotation object of the specified type.