Share via


IMutableAnnotatable.RemoveAnnotation(String) Method

Definition

Removes the given annotation from this object.

public Microsoft.EntityFrameworkCore.Infrastructure.Annotation RemoveAnnotation (string name);
public Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation RemoveAnnotation (string name);
public Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation? RemoveAnnotation (string name);
abstract member RemoveAnnotation : string -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
abstract member RemoveAnnotation : string -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
Public Function RemoveAnnotation (name As String) As Annotation
Public Function RemoveAnnotation (name As String) As IAnnotation

Parameters

name
String

The name of the annotation to remove.

Returns

The annotation that was removed.

Applies to