Share via


CSharpCodeWriter.WriteVariableDeclaration(String, String, String) Method

Definition

public:
 Microsoft::AspNetCore::Razor::CodeGenerators::CSharpCodeWriter ^ WriteVariableDeclaration(System::String ^ type, System::String ^ name, System::String ^ value);
public Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter WriteVariableDeclaration (string type, string name, string value);
member this.WriteVariableDeclaration : string * string * string -> Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter
Public Function WriteVariableDeclaration (type As String, name As String, value As String) As CSharpCodeWriter

Parameters

type
String
name
String
value
String

Returns

Applies to