語言

IMutableAnnotatable.FindAnnotation(String) 方法

定義

取得帶有名稱的註解,若不存在則回傳 null。

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

參數

name
String

要找到註解的關鍵。

傳回

若已有標註中已有指定名稱的註解。 否則,null。

適用於