ModelStore.GetAnnotations – metoda (ModelIdentifier, Type)
Vrátí všechny poznámky mají název daný identifikátor a že provádění daného typu.
Obor názvů: Microsoft.Data.Schema.SchemaModel
Sestavení: Microsoft.Data.Schema (v Microsoft.Data.Schema.dll)
Syntaxe
'Deklarace
Public Function GetAnnotations ( _
identifier As ModelIdentifier, _
annotationType As Type _
) As IList(Of IModelAnnotation)
public IList<IModelAnnotation> GetAnnotations(
ModelIdentifier identifier,
Type annotationType
)
public:
virtual IList<IModelAnnotation^>^ GetAnnotations(
ModelIdentifier^ identifier,
Type^ annotationType
) sealed
abstract GetAnnotations :
identifier:ModelIdentifier *
annotationType:Type -> IList<IModelAnnotation>
override GetAnnotations :
identifier:ModelIdentifier *
annotationType:Type -> IList<IModelAnnotation>
public final function GetAnnotations(
identifier : ModelIdentifier,
annotationType : Type
) : IList<IModelAnnotation>
Parametry
- identifier
Typ: Microsoft.Data.Schema.SchemaModel.ModelIdentifier
A ModelIdentifier.
- annotationType
Typ: System.Type
A Type , je odvozen z IModelAnnotation.
Vrácená hodnota
Typ: System.Collections.Generic.IList<IModelAnnotation>
Implementuje
IModelAnnotationHolder.GetAnnotations(ModelIdentifier, 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.