共用方式為


IModelAnnotationHolder.GetAnnotations 方法 (ModelIdentifier, Type)

命名空間:  Microsoft.Data.Schema.SchemaModel
組件:  Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)

語法

'宣告
Function GetAnnotations ( _
    identifier As ModelIdentifier, _
    annotationType As Type _
) As IList(Of IModelAnnotation)
IList<IModelAnnotation> GetAnnotations(
    ModelIdentifier identifier,
    Type annotationType
)
IList<IModelAnnotation^>^ GetAnnotations(
    ModelIdentifier^ identifier, 
    Type^ annotationType
)
abstract GetAnnotations : 
        identifier:ModelIdentifier * 
        annotationType:Type -> IList<IModelAnnotation> 
function GetAnnotations(
    identifier : ModelIdentifier, 
    annotationType : Type
) : IList<IModelAnnotation>

參數

傳回值

型別:System.Collections.Generic.IList<IModelAnnotation>

.NET Framework 安全性

請參閱

參考

IModelAnnotationHolder 介面

GetAnnotations 多載

Microsoft.Data.Schema.SchemaModel 命名空間