AssemblyBuilder.IsDefined(Type, Boolean) メソッド

定義

このメンバーに指定された属性の型の 1 つまたは複数のインスタンスが適用されるかどうかを示す値を返します。

public:
 override bool IsDefined(Type ^ attributeType, bool inherit);
public override bool IsDefined (Type attributeType, bool inherit);
override this.IsDefined : Type * bool -> bool
Public Overrides Function IsDefined (attributeType As Type, inherit As Boolean) As Boolean

パラメーター

attributeType
Type

テストする属性の種類。

inherit
Boolean

この型のオブジェクトでは、この引数は無視されます。

戻り値

attributeType の 1 つまたは複数のインスタンスがこの動的アセンブリに適用される場合は true。それ以外の場合は false

適用対象