ModelExtensions.IsIndexerMethod(IModel, MethodInfo) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會取得一個值,表示該方法資訊是否曾向索引器存取。
public static bool IsIndexerMethod(this Microsoft.EntityFrameworkCore.Metadata.IModel model, System.Reflection.MethodInfo methodInfo);
static member IsIndexerMethod : Microsoft.EntityFrameworkCore.Metadata.IModel * System.Reflection.MethodInfo -> bool
<Extension()>
Public Function IsIndexerMethod (model As IModel, methodInfo As MethodInfo) As Boolean
參數
- model
- IModel
該使用的模型。
- methodInfo
- MethodInfo
要查的方法資訊。