System.CodeDom.CodeVariableDeclarationStatement.CodeVariableDeclarationStatement C# (CSharp) Метод

CodeVariableDeclarationStatement() публичный Метод

public CodeVariableDeclarationStatement ( Type type, string name ) : System.Diagnostics
type System.Type
name string
Результат System.Diagnostics
        public CodeVariableDeclarationStatement(Type type, string name) {
            Type = new CodeTypeReference(type);
            Name = name;
        }

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.CodeDom.CodeExpression initExpression ) : System.Diagnostics
CodeVariableDeclarationStatement::CodeVariableDeclarationStatement ( string type, string name ) : System.Diagnostics
CodeVariableDeclarationStatement::CodeVariableDeclarationStatement ( string type, string name, System.CodeDom.CodeExpression initExpression ) : System.Diagnostics
CodeVariableDeclarationStatement