EntityTemplateFactory.BuildEntityTemplateVirtualPath Method (String, DataBoundControlMode)

.NET Framework (current version)
 

Builds the path of the entity template for the specified table.

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

public virtual string BuildEntityTemplateVirtualPath(
	string templateName,
	DataBoundControlMode mode
)

Parameters

templateName
Type: System.String

The name of the entity template for which to build the path.

mode
Type: System.Web.UI.WebControls.DataBoundControlMode

The display mode of the entity template.

Return Value

Type: System.String

The path of the entity template for the specified table.

Exception Condition
ArgumentNullException

The templateName is null.

.NET Framework
Available since 4.0
Return to top
Show: