ModelStore.GetAnnotations – metoda (Type)
Vrátí seznam poznámek na model, který implementuje daného typu.
Obor názvů: Microsoft.Data.Schema.SchemaModel
Sestavení: Microsoft.Data.Schema (v Microsoft.Data.Schema.dll)
Syntaxe
'Deklarace
Public Function GetAnnotations ( _
annotationType As Type _
) As IList(Of IModelAnnotation)
public IList<IModelAnnotation> GetAnnotations(
Type annotationType
)
public:
virtual IList<IModelAnnotation^>^ GetAnnotations(
Type^ annotationType
) sealed
abstract GetAnnotations :
annotationType:Type -> IList<IModelAnnotation>
override GetAnnotations :
annotationType:Type -> IList<IModelAnnotation>
public final function GetAnnotations(
annotationType : Type
) : IList<IModelAnnotation>
Parametry
- annotationType
Typ: System.Type
A Type , je odvozen z IModelAnnotation.
Vrácená hodnota
Typ: System.Collections.Generic.IList<IModelAnnotation>
Seznam poznámek.
Implementuje
IModelAnnotationHolder.GetAnnotations(Type)
Zabezpečení rozhraní .NET Framework
- Plná důvěra přímému volajícímu. Částečně zabezpečený kód nemůže tento člen použít. Další informace naleznete v tématu Používání knihoven z částečně důvěryhodného kódu.