Share via


CodeGenerator.OutputTypeAttributes(TypeAttributes, Boolean, Boolean) Método

Definición

Genera código para los atributos de tipo especificados.

protected:
 virtual void OutputTypeAttributes(System::Reflection::TypeAttributes attributes, bool isStruct, bool isEnum);
protected virtual void OutputTypeAttributes (System.Reflection.TypeAttributes attributes, bool isStruct, bool isEnum);
abstract member OutputTypeAttributes : System.Reflection.TypeAttributes * bool * bool -> unit
override this.OutputTypeAttributes : System.Reflection.TypeAttributes * bool * bool -> unit
Protected Overridable Sub OutputTypeAttributes (attributes As TypeAttributes, isStruct As Boolean, isEnum As Boolean)

Parámetros

attributes
TypeAttributes

Uno de los valores de enumeración que indica los atributos de tipo para los que se va a generar código.

isStruct
Boolean

Es true si el tipo es un struct; en caso contrario, es false.

isEnum
Boolean

Es true si el tipo es una enumeración; en caso contrario, es false.

Se aplica a

Consulte también