Sdílet prostřednictvím


ModelStore.CreateNamedAnnotation – metoda (ModelAnnotationClass, ModelIdentifier)

Vytvoří pojmenovanou ModelAnnotation objekt pomocí objektu metadata zadané poznámky a identifikátor.

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

Syntaxe

'Deklarace
Public Function CreateNamedAnnotation ( _
    annotationClass As ModelAnnotationClass, _
    identifier As ModelIdentifier _
) As IModelAnnotation
public IModelAnnotation CreateNamedAnnotation(
    ModelAnnotationClass annotationClass,
    ModelIdentifier identifier
)
public:
IModelAnnotation^ CreateNamedAnnotation(
    ModelAnnotationClass^ annotationClass, 
    ModelIdentifier^ identifier
)
member CreateNamedAnnotation : 
        annotationClass:ModelAnnotationClass * 
        identifier:ModelIdentifier -> IModelAnnotation 
public function CreateNamedAnnotation(
    annotationClass : ModelAnnotationClass, 
    identifier : ModelIdentifier
) : IModelAnnotation

Parametry

Vrácená hodnota

Typ: Microsoft.Data.Schema.SchemaModel.IModelAnnotation
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ů

ModelAnnotationClass

ModelIdentifier

IModelAnnotation