EntityQueryModelVisitor.IsPropertyMethod(MethodInfo) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷 是否 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;