แก้ไข

แชร์ผ่าน


AssemblyBuilder.IsDefined(Type, Boolean) Method

Definition

Returns a value that indicates whether one or more instances of the specified attribute type is applied to this member.

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

Parameters

attributeType
Type

The type of attribute to test for.

inherit
Boolean

This argument is ignored for objects of this type.

Returns

true if one or more instances of attributeType is applied to this dynamic assembly; otherwise, false.

Applies to