OpenXmlPartContainer.Annotations 方法    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| Annotations(Type) | 获取此 PartContainer 的指定类型的注释集合。 | 
| Annotations<T>() | 获取此 PartContainer 的指定类型的注释集合。 | 
Annotations(Type)
获取此 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)参数
- type
- Type
要检索的批注的类型。
返回
包含此 PartContainer 注释的 对象的 IEnumerable (T) 。
适用于
Annotations<T>()
获取此 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)类型参数
- T
要检索的批注的类型。
返回
包含此 PartContainer 注释的 对象的 IEnumerable (T) 。