MemberInfo.ICustomAttributeProvider.GetCustomAttributes Yöntem

Tanım

Aşırı Yüklemeler

ICustomAttributeProvider.GetCustomAttributes(Boolean)

Adlandırılmış öznitelikler hariç, bu üyede tanımlanan tüm özel özniteliklerin dizisini veya özel öznitelikler yoksa boş bir diziyi döndürür.

ICustomAttributeProvider.GetCustomAttributes(Type, Boolean)

Bu üyede tanımlanan, türe göre tanımlanan bir özel öznitelik dizisi veya bu türde özel öznitelikler yoksa boş bir dizi döndürür.

ICustomAttributeProvider.GetCustomAttributes(Boolean)

Adlandırılmış öznitelikler hariç, bu üyede tanımlanan tüm özel özniteliklerin dizisini veya özel öznitelikler yoksa boş bir diziyi döndürür.

 virtual cli::array <System::Object ^> ^ System.Reflection.ICustomAttributeProvider.GetCustomAttributes(bool inherit) = System::Reflection::ICustomAttributeProvider::GetCustomAttributes;
object[] ICustomAttributeProvider.GetCustomAttributes (bool inherit);
abstract member System.Reflection.ICustomAttributeProvider.GetCustomAttributes : bool -> obj[]
override this.System.Reflection.ICustomAttributeProvider.GetCustomAttributes : bool -> obj[]
Function GetCustomAttributes (inherit As Boolean) As Object() Implements ICustomAttributeProvider.GetCustomAttributes

Parametreler

inherit
Boolean

olduğunda true, devralınan özel özniteliğin hiyerarşi zincirini arayın.

Döndürülenler

Object[]

Özel öznitelikleri temsil eden Nesneler dizisi veya boş bir dizi.

Uygulamalar

Şunlara uygulanır

ICustomAttributeProvider.GetCustomAttributes(Type, Boolean)

Bu üyede tanımlanan, türe göre tanımlanan bir özel öznitelik dizisi veya bu türde özel öznitelikler yoksa boş bir dizi döndürür.

 virtual cli::array <System::Object ^> ^ System.Reflection.ICustomAttributeProvider.GetCustomAttributes(Type ^ attributeType, bool inherit) = System::Reflection::ICustomAttributeProvider::GetCustomAttributes;
object[] ICustomAttributeProvider.GetCustomAttributes (Type attributeType, bool inherit);
abstract member System.Reflection.ICustomAttributeProvider.GetCustomAttributes : Type * bool -> obj[]
override this.System.Reflection.ICustomAttributeProvider.GetCustomAttributes : Type * bool -> obj[]
Function GetCustomAttributes (attributeType As Type, inherit As Boolean) As Object() Implements ICustomAttributeProvider.GetCustomAttributes

Parametreler

attributeType
Type

Özel özniteliklerin türü.

inherit
Boolean

olduğunda true, devralınan özel özniteliğin hiyerarşi zincirini arayın.

Döndürülenler

Object[]

Özel öznitelikleri temsil eden Nesneler dizisi veya boş bir dizi.

Uygulamalar

Şunlara uygulanır