See Also: CodeSnippetStatement Members
System.Object
System.CodeDom.CodeObject
System.CodeDom.CodeStatement
System.CodeDom.CodeSnippetStatement
While the System.CodeDOM.CodeSnippetStatement provides a quick and dirty way of adding a Statement 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
CodeSnippetStatement exp=new CodeSnippetExpression("a+=1");
Namespace: System.CodeDom
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0