Aracılığıyla paylaş


IModelAnnotationHolder.GetAnnotations Yöntem (Type)

Belirli türde ekli ek açıklamaları listesini döndürür.

Ad alanı:  Microsoft.Data.Schema.SchemaModel
Derleme:  Microsoft.Data.Schema (Microsoft.Data.Schema.dll içinde)

Sözdizimi

'Bildirim
Function GetAnnotations ( _
    annotationType As Type _
) As IList(Of IModelAnnotation)
IList<IModelAnnotation> GetAnnotations(
    Type annotationType
)
IList<IModelAnnotation^>^ GetAnnotations(
    Type^ annotationType
)
abstract GetAnnotations : 
        annotationType:Type -> IList<IModelAnnotation> 
function GetAnnotations(
    annotationType : Type
) : IList<IModelAnnotation>

Parametreler

Dönüş Değeri

Tür: System.Collections.Generic.IList<IModelAnnotation>
Seçili modeli ek açıklamalar içeren bir liste.

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

IModelAnnotationHolder Arabirim

GetAnnotations Fazla Yük

Microsoft.Data.Schema.SchemaModel Ad Alanı

IModelAnnotation