AssemblyBuilder.IsDefined(Type, Boolean) Metode

Definisi

Mengembalikan nilai yang menunjukkan apakah satu atau beberapa instans dari jenis atribut yang ditentukan diterapkan ke anggota ini.

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

Parameter

attributeType
Type

Jenis atribut yang akan diuji.

inherit
Boolean

Argumen ini diabaikan untuk objek tipe ini.

Mengembalikan

true jika satu atau beberapa instans attributeType diterapkan ke rakitan dinamis ini; jika tidak, false.

Berlaku untuk