CSharpCodeWriter.WriteUsing Method    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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.CSharpCodeWriterPublic Function WriteUsing (name As String) As CSharpCodeWriterParameters
- name
- String
Returns
Applies to
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.CSharpCodeWriterPublic Function WriteUsing (name As String, endLine As Boolean) As CSharpCodeWriterParameters
- name
- String
- endLine
- Boolean