Share via


AnchorTagHelper.Protocol Property

Definition

The protocol for the URL, such as "http" or "https".

public:
 property System::String ^ Protocol { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("asp-protocol")]
public string Protocol { get; set; }
[<Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("asp-protocol")>]
member this.Protocol : string with get, set
Public Property Protocol As String

Property Value

Attributes

Applies to