Share via


RuntimeTypeBase.ITypeBase.FindDeclaredProperty(String) 方法

定義

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

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

參數

name
String

屬性名稱。

傳回

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

實作

屬性

適用於