CodeGenerator.GenerateConstructor 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
為指定的建構子產生程式碼。
protected:
abstract void GenerateConstructor(System::CodeDom::CodeConstructor ^ e, System::CodeDom::CodeTypeDeclaration ^ c);
protected abstract void GenerateConstructor(System.CodeDom.CodeConstructor e, System.CodeDom.CodeTypeDeclaration c);
abstract member GenerateConstructor : System.CodeDom.CodeConstructor * System.CodeDom.CodeTypeDeclaration -> unit
Protected MustOverride Sub GenerateConstructor (e As CodeConstructor, c As CodeTypeDeclaration)
參數
用來產生程式碼的建構器。
這個建構子所建構物件的類型。