Aracılığıyla paylaş


ModelElement.GetAnnotations<TType> Yöntem (ModelIdentifier)

Belirtilen öğeye bağlı ve sağlanan türü eşleşen ek açıklamaları listesini alır Type.

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}) ( _
    identifier As ModelIdentifier _
) As IList(Of TType)
public IList<TType> GetAnnotations<TType>(
    ModelIdentifier identifier
)
where TType : class, IModelAnnotation
public:
generic<typename TType>
where TType : ref class, IModelAnnotation
virtual IList<TType>^ GetAnnotations(
    ModelIdentifier^ identifier
) sealed
abstract GetAnnotations : 
        identifier:ModelIdentifier -> IList<'TType>  when 'TType : not struct and IModelAnnotation
override GetAnnotations : 
        identifier:ModelIdentifier -> IList<'TType>  when 'TType : not struct and IModelAnnotation
JScript genel türleri veya yöntemleri desteklemez.

Tür Parametreleri

Parametreler

Dönüş Değeri

Tür: System.Collections.Generic.IList<TType>
An IList<T> of type TType.

.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

ModelIdentifier