共用方式為


CodeGenerator.GenerateSnippetExpression(CodeSnippetExpression) 方法

定義

輸出指定常值程式碼片段運算式的程式碼。

protected:
 abstract void GenerateSnippetExpression(System::CodeDom::CodeSnippetExpression ^ e);
protected abstract void GenerateSnippetExpression (System.CodeDom.CodeSnippetExpression e);
abstract member GenerateSnippetExpression : System.CodeDom.CodeSnippetExpression -> unit
Protected MustOverride Sub GenerateSnippetExpression (e As CodeSnippetExpression)

參數

e
CodeSnippetExpression

要產生程式碼的目標運算式。

適用於

另請參閱