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

要为其生成代码的特性。

适用于

另请参阅