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

コード生成の対象となる型属性を示す列挙値の 1 つ。

isStruct
Boolean

型が構造体である場合は true。それ以外の場合は false

isEnum
Boolean

型が列挙型である場合は true。それ以外の場合は false

適用対象

こちらもご覧ください