共用方式為


CodeGenerator.OutputAttributeDeclarations 方法

定義

為指定的屬性宣告集合產生程式碼。

protected:
 virtual void OutputAttributeDeclarations(System::CodeDom::CodeAttributeDeclarationCollection ^ attributes);
protected virtual void OutputAttributeDeclarations (System.CodeDom.CodeAttributeDeclarationCollection attributes);
abstract member OutputAttributeDeclarations : System.CodeDom.CodeAttributeDeclarationCollection -> unit
override this.OutputAttributeDeclarations : System.CodeDom.CodeAttributeDeclarationCollection -> unit
Protected Overridable Sub OutputAttributeDeclarations (attributes As CodeAttributeDeclarationCollection)

參數

attributes
CodeAttributeDeclarationCollection

要為其產生程式碼的屬性。

適用於

另請參閱