AnnotatableBase.IReadOnlyAnnotatable.FindAnnotation(String) 方法

定义

获取具有给定名称的批注,如果不存在,则返回 null

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

参数

name
String

要查找的批注的名称。

返回

如果已存在具有指定名称的注释,则为现有批注。 否则为 null

实现

属性

适用于