Freigeben über


IModelAnnotationHolder.GetAnnotations-Methode (Type)

Gibt eine Liste angefügter Anmerkungen mit dem angegebenen Typ zurück.

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Function GetAnnotations ( _
    annotationType As Type _
) As IList(Of IModelAnnotation)
IList<IModelAnnotation> GetAnnotations(
    Type annotationType
)
IList<IModelAnnotation^>^ GetAnnotations(
    Type^ annotationType
)
abstract GetAnnotations : 
        annotationType:Type -> IList<IModelAnnotation> 
function GetAnnotations(
    annotationType : Type
) : IList<IModelAnnotation>

Parameter

Rückgabewert

Typ: System.Collections.Generic.IList<IModelAnnotation>
Eine Liste mit den ausgewählten Modellanmerkungen.

.NET Framework-Sicherheit

Siehe auch

Referenz

IModelAnnotationHolder Schnittstelle

GetAnnotations-Überladung

Microsoft.Data.Schema.SchemaModel-Namespace

IModelAnnotation