System.CodeDom.CodePrimitiveExpression Class

Represents a primitive data type value.

See Also: CodePrimitiveExpression Members

Syntax

[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
[System.Runtime.InteropServices.ComVisible(true)]
public class CodePrimitiveExpression : CodeExpression

Remarks

System.CodeDom.CodePrimitiveExpression can be used to represent an expression that indicates a primitive data type value.

The CodePrimitiveExpression.Value property specifies the primitive data type value to represent.

Primitive data types that can be represented using System.CodeDom.CodePrimitiveExpression include null; string; 16-, 32-, and 64-bit signed integers; and single-precision and double-precision floating-point numbers.

Requirements

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