语言

AnnotatableBase.IReadOnlyAnnotatable.Item[String] 属性

定义

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

[System.Runtime.CompilerServices.Nullable(2)]
object? Microsoft.EntityFrameworkCore.Infrastructure.IReadOnlyAnnotatable.Item[string name] { [System.Diagnostics.DebuggerStepThrough] get; }
object? Microsoft.EntityFrameworkCore.Infrastructure.IReadOnlyAnnotatable.Item[string name] { [System.Diagnostics.DebuggerStepThrough] get; }
[<System.Runtime.CompilerServices.Nullable(2)>]
[<get: System.Diagnostics.DebuggerStepThrough>]
member this.Microsoft.EntityFrameworkCore.Infrastructure.IReadOnlyAnnotatable.Item(string) : obj
[<get: System.Diagnostics.DebuggerStepThrough>]
member this.Microsoft.EntityFrameworkCore.Infrastructure.IReadOnlyAnnotatable.Item(string) : obj
 ReadOnly Property Item(name As String) As Object Implements IReadOnlyAnnotatable.Item

参数

name
String

要查找的批注的名称。

属性值

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

实现

特性

适用于