See Also: CodeSnippetExpression Members
System.Object
System.CodeDom.CodeObject
System.CodeDom.CodeExpression
System.CodeDom.CodeSnippetExpression
While the System.CodeDOM.CodeSnippetExpression provides a quick and dirty way of adding an Expression to the CodeDOM, its use is not recommended because it reduces the portability of the CodeDOM between language generators. For example,will work fine for the C# generator. However, because the VB.NET language doesn't contain the '==' operator it'll generate broken code for it.C# Example
CodeSnippetExpression exp=new CodeSnippetExpression("a==true");
Namespace: System.CodeDom
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0