System.CodeDom.CodeTypeOfExpression Class

Represents a typeof expression, an expression that returns a Type for a specified type name.

See Also: CodeTypeOfExpression Members


public class CodeTypeOfExpression : CodeExpression


A System.CodeDom.CodeTypeOfExpression represents a typeof expression that returns a Type at runtime.

The CodeTypeOfExpression.Type property specifies the data type to return a Type object for.

Use System.CodeDom.CodeTypeReferenceExpression to represent source code that refers to a type by name, such as when creating a System.CodeDom.CodeCastExpression to cast an object to a name-specified type.


Namespace: System.CodeDom
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0,,