ModelElement.AddAnnotation Method
Adds the provided IModelAnnotation object to the element.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Sub AddAnnotation ( _
annotation As IModelAnnotation _
)
public void AddAnnotation(
IModelAnnotation annotation
)
public:
virtual void AddAnnotation(
IModelAnnotation^ annotation
) sealed
abstract AddAnnotation :
annotation:IModelAnnotation -> unit
override AddAnnotation :
annotation:IModelAnnotation -> unit
public final function AddAnnotation(
annotation : IModelAnnotation
)
Parameters
- annotation
Type: Microsoft.Data.Schema.SchemaModel.IModelAnnotation
An IModelAnnotation object.
Implements
IModelAnnotationHolder.AddAnnotation(IModelAnnotation)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.