共用方式為


RuntimeAnnotatableBase.IReadOnlyAnnotatable.Item[String] Property

Definition

Gets the value of the annotation with the given name, returning null if it does not exist.

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

Parameters

name
String

The name of the annotation to find.

Property Value

The value of the existing annotation if an annotation with the specified name already exists. Otherwise, null.

Implements

Attributes

Applies to