TableExpressionBase.FindAnnotation(String) 方法

定義

取得具有指定名稱的注釋,如果不存在,則傳 null 回 。

public virtual Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation? FindAnnotation (string name);
abstract member FindAnnotation : string -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
override this.FindAnnotation : string -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
Public Overridable Function FindAnnotation (name As String) As IAnnotation

參數

name
String

要尋找之批註的索引鍵。

傳回

如果具有指定名稱的注釋已經存在,則為現有的批註。 否則為 null

適用於