語言

AnnotatableBase.IAnnotatable.FindRuntimeAnnotation(String) 方法

定義

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

Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation IAnnotatable.FindRuntimeAnnotation(string name);
Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation? IAnnotatable.FindRuntimeAnnotation(string name);
abstract member Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.FindRuntimeAnnotation : string -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
override this.Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.FindRuntimeAnnotation : string -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
Function FindRuntimeAnnotation (name As String) As IAnnotation Implements IAnnotatable.FindRuntimeAnnotation

參數

name
String

要找到的註解名稱。

傳回

若已有指定名稱的註解存在,則指現有的執行時註解。 否則為 null。

實作

適用於