OpenXmlElement.Annotations<T> Method
Gets a collection of annotations of the specified type for this OpenXmlElement.
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'宣言
Public Function Annotations(Of T As Class) As IEnumerable(Of T)
'使用
Dim instance As OpenXmlElement
Dim returnValue As IEnumerable(Of T)
returnValue = instance.Annotations()
public IEnumerable<T> Annotations<T>()
where T : class
Type Parameters
- T
The type of the annotations to retrieve.
Return Value
Type: System.Collections.Generic.IEnumerable<T>
An IEnumerable(T) of object that contains the annotations for this OpenXmlElement.