共用方式為


ModelExpression(String, ModelExplorer) 建構函式

定義

初始化 ModelExpression 類別的新執行個體。

public:
 ModelExpression(System::String ^ name, Microsoft::AspNetCore::Mvc::ViewFeatures::ModelExplorer ^ modelExplorer);
public ModelExpression (string name, Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer modelExplorer);
new Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression : string * Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer -> Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression
Public Sub New (name As String, modelExplorer As ModelExplorer)

參數

name
String

感興趣的 字串表示 Expression

modelExplorer
ModelExplorer

包含感興趣的 Expression 模型和中繼資料。

適用於