MetadataItem.AddAnnotation(String, Object) Method

Definition

Adds or updates an annotation with the specified name and value.

public void AddAnnotation (string name, object value);
member this.AddAnnotation : string * obj -> unit
Public Sub AddAnnotation (name As String, value As Object)

Parameters

name
String

The name of the annotation property.

value
Object

The value of the annotation property.

Remarks

If an annotation with the given name already exists then the value of that annotation is updated to the given value. If the given value is null then the annotation will be removed.

Applies to