ModelStore.CreateNamedAnnotation<TAnnotation>-Methode (ModelIdentifier)

Erstellt ein benanntes ModelAnnotation-Objekt mithilfe des bereitgestellten Modellbezeichners.

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

Syntax

'Declaration
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
JScript unterstützt keine generischen Typen oder Methoden.

Typparameter

Parameter

Rückgabewert

Typ: TAnnotation
Eine benannte Modellanmerkung.

.NET Framework-Sicherheit

Siehe auch

Referenz

ModelStore Klasse

CreateNamedAnnotation-Überladung

Microsoft.Data.Schema.SchemaModel-Namespace

ModelIdentifier