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
public CodeTypeReference TargetType {get; set;}
public: __property CodeTypeReference* get_TargetType();
public: __property void set_TargetType(CodeTypeReference*);
public function get TargetType() : CodeTypeReference;
public function set TargetType(CodeTypeReference);

Property Value

A CodeTypeReference that indicates the destination type to cast to.


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