CSharpDisableWarningScope 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
CSharpDisableWarningScope(CSharpCodeWriter) | |
CSharpDisableWarningScope(CSharpCodeWriter, Int32) |
CSharpDisableWarningScope(CSharpCodeWriter)
public:
CSharpDisableWarningScope(Microsoft::AspNetCore::Razor::CodeGenerators::CSharpCodeWriter ^ writer);
public CSharpDisableWarningScope (Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter writer);
new Microsoft.AspNetCore.Razor.CodeGenerators.CSharpDisableWarningScope : Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter -> Microsoft.AspNetCore.Razor.CodeGenerators.CSharpDisableWarningScope
Public Sub New (writer As CSharpCodeWriter)
參數
- writer
- CSharpCodeWriter
適用於
CSharpDisableWarningScope(CSharpCodeWriter, Int32)
public:
CSharpDisableWarningScope(Microsoft::AspNetCore::Razor::CodeGenerators::CSharpCodeWriter ^ writer, int warningNumber);
public CSharpDisableWarningScope (Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter writer, int warningNumber);
new Microsoft.AspNetCore.Razor.CodeGenerators.CSharpDisableWarningScope : Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter * int -> Microsoft.AspNetCore.Razor.CodeGenerators.CSharpDisableWarningScope
Public Sub New (writer As CSharpCodeWriter, warningNumber As Integer)
參數
- writer
- CSharpCodeWriter
- warningNumber
- Int32