語言

ConventionAnnotatable.IConventionAnnotatable.FindAnnotation(String) 方法

定義

取得帶有名字的註解,若不存在則回 null 傳。

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation IConventionAnnotatable.FindAnnotation(string name);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? IConventionAnnotatable.FindAnnotation(string name);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable.FindAnnotation : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation
override this.Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable.FindAnnotation : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation
Function FindAnnotation (name As String) As IConventionAnnotation Implements IConventionAnnotatable.FindAnnotation

參數

name
String

要找到的註解名稱。

傳回

若已有標註中已有指定名稱的註解。 否則為 null。

實作

屬性

適用於