Share via


Annotatable.IAnnotatable.FindAnnotation(String) 方法

定義

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

Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation IAnnotatable.FindAnnotation (string name);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation IAnnotatable.FindAnnotation (string name);
abstract member Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.FindAnnotation : string -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
override this.Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.FindAnnotation : string -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.FindAnnotation : string -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
override this.Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.FindAnnotation : string -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
Function FindAnnotation (name As String) As IAnnotation Implements IAnnotatable.FindAnnotation

參數

name
String

要尋找之批註的索引鍵。

傳回

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

實作

屬性

適用於