This documentation is archived and is not being maintained.

CodeCastExpression Constructor

.NET Framework 1.1

Initializes a new instance of the CodeCastExpression class.

Overload List

Initializes a new instance of the CodeCastExpression class.

[Visual Basic] Public Sub New()
[C#] public CodeCastExpression();
[C++] public: CodeCastExpression();
[JScript] public function CodeCastExpression();

Initializes a new instance of the CodeCastExpression class using the specified destination type and expression.

[Visual Basic] Public Sub New(CodeTypeReference, CodeExpression)
[C#] public CodeCastExpression(CodeTypeReference, CodeExpression);
[C++] public: CodeCastExpression(CodeTypeReference*, CodeExpression*);
[JScript] public function CodeCastExpression(CodeTypeReference, CodeExpression);

Initializes a new instance of the CodeCastExpression class using the specified destination type and expression.

[Visual Basic] Public Sub New(String, CodeExpression)
[C#] public CodeCastExpression(string, CodeExpression);
[C++] public: CodeCastExpression(String*, CodeExpression*);
[JScript] public function CodeCastExpression(String, CodeExpression);

Initializes a new instance of the CodeCastExpression class using the specified destination type and expression.

[Visual Basic] Public Sub New(Type, CodeExpression)
[C#] public CodeCastExpression(Type, CodeExpression);
[C++] public: CodeCastExpression(Type*, CodeExpression*);
[JScript] public function CodeCastExpression(Type, CodeExpression);

See Also

CodeCastExpression Class | CodeCastExpression Members | System.CodeDom Namespace

Show: