System.CodeDom.CodeVariableDeclarationStatement.CodeVariableDeclarationStatement C# (CSharp) Method

CodeVariableDeclarationStatement() public method

public CodeVariableDeclarationStatement ( string type, string name, System.CodeDom.CodeExpression initExpression ) : System.Diagnostics
type string
name string
initExpression System.CodeDom.CodeExpression
return System.Diagnostics
        public CodeVariableDeclarationStatement(string type, string name, CodeExpression initExpression) {
            Type = new CodeTypeReference(type);
            Name = name;
            InitExpression = initExpression;
        }

Same methods

CodeVariableDeclarationStatement::CodeVariableDeclarationStatement ( ) : System.Diagnostics
CodeVariableDeclarationStatement::CodeVariableDeclarationStatement ( CodeTypeReference type, string name ) : System.Diagnostics
CodeVariableDeclarationStatement::CodeVariableDeclarationStatement ( CodeTypeReference type, string name, System.CodeDom.CodeExpression initExpression ) : System.Diagnostics
CodeVariableDeclarationStatement::CodeVariableDeclarationStatement ( Type type, string name ) : System.Diagnostics
CodeVariableDeclarationStatement::CodeVariableDeclarationStatement ( Type type, string name, System.CodeDom.CodeExpression initExpression ) : System.Diagnostics
CodeVariableDeclarationStatement::CodeVariableDeclarationStatement ( string type, string name ) : System.Diagnostics
CodeVariableDeclarationStatement