Sdílet prostřednictvím


ModelElement.GetAnnotations<TType> – metoda

Získá seznam poskytnutý typ poznámky připojené k aktuální prvek.

Obor názvů:  Microsoft.Data.Schema.SchemaModel
Sestavení:  Microsoft.Data.Schema (v Microsoft.Data.Schema.dll)

Syntaxe

'Deklarace
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
Jazyk JScript nepodporuje obecné typy a metody.

Parametry typu

Vrácená hodnota

Typ: System.Collections.Generic.IList<TType>
IList<T> , Který obsahuje poznámky, jejichž typ odpovídá zadané TType obecný parametr.

Zabezpečení rozhraní .NET Framework

Viz také

Odkaz

ModelElement Třída

GetAnnotations – přetížení

Microsoft.Data.Schema.SchemaModel – obor názvů

IModelAnnotation