MetadataItem.AddAnnotation(String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework