IHtmlHelper.Id(String) IHtmlHelper.Id(String) IHtmlHelper.Id(String) Method

Definition

Returns the HTML element Id for the specified expression.

public string Id (string expression);
abstract member Id : string -> string
Public Function Id (expression As String) As String

Parameters

expression
String String String

Expression name, relative to the current model.

Returns

A String containing the element Id.

Applies to