ImageTagHelper.Src Propriété

Définition

Source de l’image.

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

Valeur de propriété

Attributs

Remarques

Transmis au code HTML généré dans tous les cas.

S’applique à