Bagikan melalui


AnnotatableBase.IReadOnlyAnnotatable.FindAnnotation(String) Metode

Definisi

Mendapatkan anotasi dengan nama yang diberikan, mengembalikan null jika tidak ada.

[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

Parameter

name
String

Nama anotasi yang akan ditemukan.

Mengembalikan

Anotasi yang ada jika anotasi dengan nama yang ditentukan sudah ada. Sebaliknya, null.

Penerapan

Atribut

Berlaku untuk