Поделиться через


CSharpCodeWriter.WriteUsing Метод

Определение

Перегрузки

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

Возвращаемое значение

Применяется к