CSharpCodeWriter.WriteUsing 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
WriteUsing(String) | |
WriteUsing(String, Boolean) |
WriteUsing(String)
public:
Microsoft::AspNetCore::Razor::CodeGenerators::CSharpCodeWriter ^ WriteUsing(System::String ^ name);
public Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter WriteUsing (string name);
member this.WriteUsing : string -> Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter
Public Function WriteUsing (name As String) As CSharpCodeWriter
參數
- name
- String
傳回
適用於
WriteUsing(String, Boolean)
public:
Microsoft::AspNetCore::Razor::CodeGenerators::CSharpCodeWriter ^ WriteUsing(System::String ^ name, bool endLine);
public Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter WriteUsing (string name, bool endLine);
member this.WriteUsing : string * bool -> Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter
Public Function WriteUsing (name As String, endLine As Boolean) As CSharpCodeWriter
參數
- name
- String
- endLine
- Boolean