Sdílet prostřednictvím


ModelElement.GetAnnotations<TType> – metoda (ModelIdentifier)

Získá seznam poznámky připojené k Zadaný prvek a jehož typ odpovídá zadané Type.

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}) ( _
    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
Jazyk JScript nepodporuje obecné typy a metody.

Parametry typu

Parametry

Vrácená hodnota

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

Zabezpečení rozhraní .NET Framework

Viz také

Odkaz

ModelElement Třída

GetAnnotations – přetížení

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

IModelAnnotation

ModelIdentifier