RazorEngineHost.CodeLanguage 属性

定义

Razor 模板中代码的语言。

public:  virtual property Microsoft::AspNetCore::Razor::RazorCodeLanguage ^ CodeLanguage {  public:
Microsoft::AspNetCore::Razor::RazorCodeLanguage ^ get(); protected:
 void set(Microsoft::AspNetCore::Razor::RazorCodeLanguage ^ value); };
public virtual Microsoft.AspNetCore.Razor.RazorCodeLanguage CodeLanguage { get; protected set; }
member this.CodeLanguage : Microsoft.AspNetCore.Razor.RazorCodeLanguage with get, set
Public Overridable Property CodeLanguage As RazorCodeLanguage

属性值

适用于