RazorLanguageVersionAttribute(String) 构造函数

定义

创建 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)

参数

languageVersion
String

Razor 的语言版本

适用于