Share via


TemplateInfo.Visited(ModelExplorer) 方法

定义

检查是否已访问过模型。

public:
 bool Visited(Microsoft::AspNetCore::Mvc::ViewFeatures::ModelExplorer ^ modelExplorer);
public bool Visited (Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer modelExplorer);
member this.Visited : Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer -> bool
Public Function Visited (modelExplorer As ModelExplorer) As Boolean

参数

modelExplorer
ModelExplorer

ModelExplorer

返回

是否已访问模型。

适用于