Share via


TagBuilder.GenerateId(String) Method

Definition

Generates a sanitized ID attribute for the tag by using the specified name.

public void GenerateId (string name);
member this.GenerateId : string -> unit
Public Sub GenerateId (name As String)

Parameters

name
String

The name to use to generate an ID attribute.

Applies to