This documentation is archived and is not being maintained.

CodeCastExpression.TargetType Property

Gets or sets the destination type of the cast.

[Visual Basic]
Public Property TargetType As CodeTypeReference
[C#]
public CodeTypeReference TargetType {get; set;}
[C++]
public: __property CodeTypeReference* get_TargetType();
public: __property void set_TargetType(CodeTypeReference*);
[JScript]
public function get TargetType() : CodeTypeReference;
public function set TargetType(CodeTypeReference);

Property Value

A CodeTypeReference that indicates the destination type to cast to.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

CodeCastExpression Class | CodeCastExpression Members | System.CodeDom Namespace

Show: