共用方式為


CSharpCodeWriter.BuildDisableWarningScope(Int32) 方法

定義

public:
 Microsoft::AspNetCore::Razor::CodeGenerators::CSharpDisableWarningScope BuildDisableWarningScope(int warning);
public Microsoft.AspNetCore.Razor.CodeGenerators.CSharpDisableWarningScope BuildDisableWarningScope (int warning);
member this.BuildDisableWarningScope : int -> Microsoft.AspNetCore.Razor.CodeGenerators.CSharpDisableWarningScope
Public Function BuildDisableWarningScope (warning As Integer) As CSharpDisableWarningScope

參數

warning
Int32

傳回

適用於