语言

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。

实现

特性

适用于