2
の新しいインスタンスを初期化する必要があり、次のコード:がオブジェクト
CodeVariableDeclarationStatement variableDeclaration = new CodeVariableDeclarationStatement(
// Type of the variable to declare.
typeof(string),
// Name of the variable to declare.
"TestString");
は、次のVB.Net文が生成されます。
Dim TestString As String
私はそれがこのように見えるようにするために作成する必要がありますどのような変更:
Dim TestString As New StringBuilder()
この新しいキーワードを表示する方法は興味があります。