Aracılığıyla paylaş


ModelElement.GetAnnotations<TType> Yöntem

Sağlanan tür geçerli öğeye eklenen açıklamaları listesini alır.

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

Sözdizimi

'Bildirim
Public Function GetAnnotations(Of TType As {Class, IModelAnnotation}) As IList(Of TType)
public IList<TType> GetAnnotations<TType>()
where TType : class, IModelAnnotation
public:
generic<typename TType>
where TType : ref class, IModelAnnotation
virtual IList<TType>^ GetAnnotations() sealed
abstract GetAnnotations : unit -> IList<'TType>  when 'TType : not struct and IModelAnnotation
override 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>
Bir IList<T> türü eşleşen sağlanan ek açıklamaları içeren TType Genel parametre.

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

ModelElement Sınıf

GetAnnotations Fazla Yük

Microsoft.Data.Schema.SchemaModel Ad Alanı

IModelAnnotation