Share via


RazorLanguageVersionAttribute(String) Constructor

Definition

Creates a new instance of RazorLanguageVersionAttribute.

public:
 RazorLanguageVersionAttribute(System::String ^ languageVersion);
public RazorLanguageVersionAttribute (string languageVersion);
new Microsoft.AspNetCore.Razor.Hosting.RazorLanguageVersionAttribute : string -> Microsoft.AspNetCore.Razor.Hosting.RazorLanguageVersionAttribute
Public Sub New (languageVersion As String)

Parameters

languageVersion
String

The language version of Razor

Applies to