CodeGenerator.GeneratePrimitiveExpression(CodePrimitiveExpression) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.