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。

实现

属性

适用于