Constructs a local variable statement. This represents the declaration of a variable inside of a method.
[Visual Basic] Overloads Function CreateLocalVariableStatement( _ ByVal type As ICodeClass, _ ByVal name As String, _ ByVal value As Object _ ) As ICodeLocalVariableStatement [C#] ICodeLocalVariableStatement CreateLocalVariableStatement( ICodeClass type, string name, object value ); [C++] ICodeLocalVariableStatement* CreateLocalVariableStatement( ICodeClass* type, String* name, Object* value ) = 0; [JScript] function CreateLocalVariableStatement( type : ICodeClass, name : String, value : Object ) : ICodeLocalVariableStatement;
The newly created local variable statement.
ICodeSourceFile Interface | ICodeSourceFile Members | System.ComponentModel.Design.CodeModel Namespace | ICodeSourceFile.CreateLocalVariableStatement Overload List | ICodeArrayCreateExpression | ICodeObjectCreateExpression | ICodeMethodInvokeExpression | ICodeNameReferenceExpression