System.CodeDom.CodeSnippetExpression Class

Represents a literal expression.

See Also: CodeSnippetExpression Members


public class CodeSnippetExpression : CodeExpression


A literal expression stores the code of an expression as a literal code fragment. The CodeDOM does not translate literal code fragments. Literal code fragments are stored and output just as they are. CodeDOM objects that contain literal code are provided so developers can encapsulate code that is already in the target language.

The CodeSnippetExpression.Value property contains the literal code for this snippet expression.


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