Επεξεργασία

Κοινή χρήση μέσω


CodeGenerator.GeneratePrimitiveExpression(CodePrimitiveExpression) Method

Definition

Generates code for the specified primitive expression.

protected:
 virtual void GeneratePrimitiveExpression(System::CodeDom::CodePrimitiveExpression ^ e);
protected virtual void GeneratePrimitiveExpression (System.CodeDom.CodePrimitiveExpression e);
abstract member GeneratePrimitiveExpression : System.CodeDom.CodePrimitiveExpression -> unit
override this.GeneratePrimitiveExpression : System.CodeDom.CodePrimitiveExpression -> unit
Protected Overridable Sub GeneratePrimitiveExpression (e As CodePrimitiveExpression)

Parameters

e
CodePrimitiveExpression

The expression to generate code for.

Exceptions

e uses an invalid data type. Only the following data types are valid:

  • string

  • char

  • byte

  • Int16

  • Int32

  • Int64

  • Half

  • Single

  • Double

  • Decimal

Applies to

See also