TemplateInfo.Visited Method

Determines whether the template has been visited by the user.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public bool Visited(
	ModelMetadata metadata
)

Parameters

metadata
Type: System.Web.Mvc.ModelMetadata

An object that encapsulates information that describes the model.

Return Value

Type: System.Boolean
true if the template has been visited by the user; otherwise, false.
Show: