共用方式為


EntityQueryModelVisitor.IsPropertyMethod(MethodInfo) 方法

定義

判斷 是否 MethodInfo 參考 Property<TProperty>(Object, String) 方法。

public static bool IsPropertyMethod (System.Reflection.MethodInfo methodInfo);
static member IsPropertyMethod : System.Reflection.MethodInfo -> bool
Public Shared Function IsPropertyMethod (methodInfo As MethodInfo) As Boolean

參數

methodInfo
MethodInfo

要檢查的方法資訊。

傳回

如果 methodInfo 參考 Property<TProperty>(Object, String) ,則為 True;否則為 fale;

適用於