共用方式為


CodeGenerator.GenerateSnippetCompileUnit(CodeSnippetCompileUnit) 方法

定義

輸出指定常值程式碼片段編譯單位的程式碼。

protected:
 virtual void GenerateSnippetCompileUnit(System::CodeDom::CodeSnippetCompileUnit ^ e);
protected virtual void GenerateSnippetCompileUnit (System.CodeDom.CodeSnippetCompileUnit e);
abstract member GenerateSnippetCompileUnit : System.CodeDom.CodeSnippetCompileUnit -> unit
override this.GenerateSnippetCompileUnit : System.CodeDom.CodeSnippetCompileUnit -> unit
Protected Overridable Sub GenerateSnippetCompileUnit (e As CodeSnippetCompileUnit)

參數

e
CodeSnippetCompileUnit

要為其產生程式碼的常值程式碼片段編譯單位。

適用於

另請參閱