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

適用対象

こちらもご覧ください