Sdílet prostřednictvím


ModelStore.CreateNamedAnnotation<TAnnotation> – metoda (ModelIdentifier)

Vytvoří pojmenovanou ModelAnnotation objekt pomocí identifikátoru zadaného modelu.

Obor názvů:  Microsoft.Data.Schema.SchemaModel
Sestavení:  Microsoft.Data.Schema (v Microsoft.Data.Schema.dll)

Syntaxe

'Deklarace
Public Function CreateNamedAnnotation(Of TAnnotation As IModelAnnotation) ( _
    identifier As ModelIdentifier _
) As TAnnotation
public TAnnotation CreateNamedAnnotation<TAnnotation>(
    ModelIdentifier identifier
)
where TAnnotation : IModelAnnotation
public:
generic<typename TAnnotation>
where TAnnotation : IModelAnnotation
TAnnotation CreateNamedAnnotation(
    ModelIdentifier^ identifier
)
member CreateNamedAnnotation : 
        identifier:ModelIdentifier -> 'TAnnotation  when 'TAnnotation : IModelAnnotation
Jazyk JScript nepodporuje obecné typy a metody.

Parametry typu

Parametry

Vrácená hodnota

Typ: TAnnotation
Model s názvem poznámky.

Zabezpečení rozhraní .NET Framework

Viz také

Odkaz

ModelStore Třída

CreateNamedAnnotation – přetížení

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

ModelIdentifier