IReadOnlyAnnotatable.GetAnnotation(String) 方法

定義

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

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

參數

annotationName
String

要尋找之注釋的索引鍵。

傳回

具有指定名稱的批註。

適用於