語言

ModelExtensions.IsIndexerMethod(IModel, MethodInfo) 方法

定義

會取得一個值,表示該方法資訊是否曾向索引器存取。

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

要查的方法資訊。

傳回

適用於