共用方式為


EdmModel.AddVocabularyAnnotation 方法

將詞彙註釋加入至此模型。

命名空間:  Microsoft.Data.Edm.Library
組件:  Microsoft.Data.Edm (在 Microsoft.Data.Edm.dll 中)

語法

'宣告
Public Sub AddVocabularyAnnotation ( _
    annotation As IEdmVocabularyAnnotation _
)
'用途
Dim instance As EdmModel
Dim annotation As IEdmVocabularyAnnotation

instance.AddVocabularyAnnotation(annotation)
public void AddVocabularyAnnotation(
    IEdmVocabularyAnnotation annotation
)
public:
void AddVocabularyAnnotation(
    IEdmVocabularyAnnotation^ annotation
)
member AddVocabularyAnnotation : 
        annotation:IEdmVocabularyAnnotation -> unit 
public function AddVocabularyAnnotation(
    annotation : IEdmVocabularyAnnotation
)

參數

請參閱

參考

EdmModel 類別

Microsoft.Data.Edm.Library 命名空間