DefaultHtmlGenerator.GenerateLink(String, String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Generate a link.
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
Parameters
- linkText
- String
The text for the link.
- url
- String
The url for the link.
- htmlAttributes
- Object
The html attributes.
Returns
The TagBuilder.