CodeTypeOfExpression.Type Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.CodeDom
Assembly:  System (in System.dll)

public CodeTypeReference Type { get; set; }

Property Value

Type: System.CodeDom.CodeTypeReference

A CodeTypeReference that indicates the data type referenced by the typeof expression. This property will never return null, and defaults to the Void type.

.NET Framework
Available since 1.1
Return to top
Show: