IReadOnlyTypeBase.FindDeclaredProperty(String) 方法

定义

查找在具有给定名称的类型上声明的属性。 不返回在基类型上定义的属性。

public Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty? FindDeclaredProperty (string name);
abstract member FindDeclaredProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty
Public Function FindDeclaredProperty (name As String) As IReadOnlyProperty

参数

name
String

属性名称。

返回

属性,如果未找到,则为 。null

适用于