Share via


IMutableAnnotatable.RemoveAnnotation(String) 方法

定义

从此对象中删除给定的批注。

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

参数

name
String

要删除的批注的名称。

返回

已删除的批注。

适用于