共用方式為


CodeGenerator.GenerateDirectives(CodeDirectiveCollection) 方法

定義

為指定的程式碼指示詞產生程式碼。

protected:
 virtual void GenerateDirectives(System::CodeDom::CodeDirectiveCollection ^ directives);
protected virtual void GenerateDirectives (System.CodeDom.CodeDirectiveCollection directives);
abstract member GenerateDirectives : System.CodeDom.CodeDirectiveCollection -> unit
override this.GenerateDirectives : System.CodeDom.CodeDirectiveCollection -> unit
Protected Overridable Sub GenerateDirectives (directives As CodeDirectiveCollection)

參數

directives
CodeDirectiveCollection

要為其產生程式碼的程式碼指示詞。

適用於