CodeGenerator.OutputTypeAttributes(TypeAttributes, Boolean, Boolean) Метод

Определение

Создает код для указанных атрибутов типа.

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)

Параметры

attributes
TypeAttributes

Одно из значений перечисления, указывающее атрибуты типа для создания кода.

isStruct
Boolean

true Значение , если тип является структурой; falseв противном случае .

isEnum
Boolean

true Значение , если тип является перечислением; falseв противном случае .

Применяется к

См. также раздел