OpenXmlPartContainer.Annotations 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
Annotations(Type) |
Gets a collection of annotations of the specified type for this PartContainer. |
Annotations<T>() |
Gets a collection of annotations of the specified type for this PartContainer. |
Annotations(Type)
Gets a collection of annotations of the specified type for this PartContainer.
public System.Collections.Generic.IEnumerable<object> Annotations (Type type);
member this.Annotations : Type -> seq<obj>
Public Iterator Function Annotations (type As Type) As IEnumerable(Of Object)
Public Function Annotations (type As Type) As IEnumerable(Of Object)
Parameters
- type
- Type
The Type of the annotations to retrieve.
Returns
An IEnumerable(T) of object that contains the annotations for this PartContainer.
Applies to
Annotations<T>()
Gets a collection of annotations of the specified type for this PartContainer.
public System.Collections.Generic.IEnumerable<T> Annotations<T> () where T : class;
member this.Annotations : unit -> seq<'T (requires 'T : null)> (requires 'T : null)
Public Iterator Function Annotations(Of T As Class) () As IEnumerable(Of T)
Public Function Annotations(Of T As Class) () As IEnumerable(Of T)
Type Parameters
- T
The type of the annotations to retrieve.
Returns
An IEnumerable(T) of object that contains the annotations for this PartContainer.