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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.