 | OpenXmlElementAnnotationsT Method |
Gets a collection of annotations with the specified type for the current OpenXmlElement element.
Namespace: DocumentFormat.OpenXmlAssembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntaxpublic IEnumerable<T> Annotations<T>()
where T : class
Public Function Annotations(Of T As Class) As IEnumerable(Of T)
public:
generic<typename T>
where T : ref class
IEnumerable<T>^ Annotations()
member Annotations : unit -> IEnumerable<'T> when 'T : not struct
Type Parameters
- T
- The type of the annotations to retrieve.
Return Value
IEnumerableTAn IEnumerable(T) object that contains the annotations for current OpenXmlElement element.
See Also