IModelAnnotationHolder.GetAnnotations 方法

包括受保护的成员
包括继承的成员

返回附加到此元素的批注所在的列表。

重载此成员。有关此成员的完整信息(包括语法、用法和示例),请单击重载列表中的相应名称。

重载列表

  名称 说明
公共方法 GetAnnotations() 返回附加到此元素的批注的列表。
公共方法 GetAnnotations<TType>() 返回实现给定批注类型且具有指定模型标识符的所有附加模型批注。
公共方法 GetAnnotations(Type) 返回给定类型的附加批注的列表。
公共方法 GetAnnotations<TType>(ModelIdentifier)
公共方法 GetAnnotations(ModelIdentifier) 返回具有给定标识符的附加批注的列表。
公共方法 GetAnnotations(ModelIdentifier, Type)

页首

请参见

参考

IModelAnnotationHolder 接口

Microsoft.Data.Schema.SchemaModel 命名空间