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
- annotationType
Typ: System.Type
Gibt den IModelAnnotation-Typ an.
Rückgabewert
Typ: System.Collections.Generic.IList<IModelAnnotation>
Eine Liste mit den ausgewählten Modellanmerkungen.
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.
Siehe auch
Referenz
IModelAnnotationHolder Schnittstelle