共用方式為


RuntimeTypeBase.IReadOnlyTypeBase.FindDeclaredProperty(String) 方法

定義

尋找在具有指定名稱之型別上宣告的屬性。 不會傳回基底類型上定義的屬性。

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

參數

name
String

屬性名稱。

傳回

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

實作

屬性

適用於