共用方式為


RuntimeTypeBase.IReadOnlyTypeBase.FindProperty(String) 方法

定義

取得指定名稱的屬性。 null如果未定義具有指定名稱的屬性,則傳回 。

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty IReadOnlyTypeBase.FindProperty (string name);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase.FindProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase.FindProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty
Function FindProperty (name As String) As IReadOnlyProperty Implements IReadOnlyTypeBase.FindProperty

參數

name
String

屬性的名稱。

傳回

如果找不到屬性,則 null 為 。

實作

屬性

適用於