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

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

返品

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

適用対象