Compartir a través de


DefaultHtmlGenerator.GenerateLink(String, String, Object) Método

Definición

Genere un vínculo.

protected:
 virtual Microsoft::AspNetCore::Mvc::Rendering::TagBuilder ^ GenerateLink(System::String ^ linkText, System::String ^ url, System::Object ^ htmlAttributes);
protected virtual Microsoft.AspNetCore.Mvc.Rendering.TagBuilder GenerateLink (string linkText, string url, object htmlAttributes);
abstract member GenerateLink : string * string * obj -> Microsoft.AspNetCore.Mvc.Rendering.TagBuilder
override this.GenerateLink : string * string * obj -> Microsoft.AspNetCore.Mvc.Rendering.TagBuilder
Protected Overridable Function GenerateLink (linkText As String, url As String, htmlAttributes As Object) As TagBuilder

Parámetros

linkText
String

Texto del vínculo.

url
String

Dirección URL del vínculo.

htmlAttributes
Object

Atributos html.

Devoluciones

TagBuilder.

Se aplica a