This documentation is archived and is not being maintained.

CodeTypeOfExpression.Type Property

Gets or sets the data type referenced by the typeof expression.

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

Property Value

A CodeTypeReference that indicates the data type referenced by the typeof expression. This property will never return a null reference (Nothing in Visual Basic), and defaults to the Void type.

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

CodeTypeOfExpression Class | CodeTypeOfExpression Members | System.CodeDom Namespace

Show: