Aracılığıyla paylaş


IModelAnnotationHolder.GetAnnotations<TType> Yöntem

Verilen ek açıklama uygulayan tüm ekli modeli ek açıklamalar yazın ve belirtilen modeli tanımlayıcısı vardır verir.

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

Sözdizimi

'Bildirim
Function GetAnnotations(Of TType As {Class, IModelAnnotation}) As IList(Of TType)
IList<TType> GetAnnotations<TType>()
where TType : class, IModelAnnotation
generic<typename TType>
where TType : ref class, IModelAnnotation
IList<TType>^ GetAnnotations()
abstract GetAnnotations : unit -> IList<'TType>  when 'TType : not struct and IModelAnnotation
JScript genel türleri veya yöntemleri desteklemez.

Tür Parametreleri

Dönüş Değeri

Tür: System.Collections.Generic.IList<TType>
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