Aracılığıyla paylaş


ReflectedAsyncActionDescriptor.GetCustomAttributes Yöntem

Tanım

Aşırı Yüklemeler

GetCustomAttributes(Boolean)

Adlandırılmış öznitelikler hariç, bu üye için tanımlanan özel öznitelikler dizisini döndürür.

GetCustomAttributes(Type, Boolean)

Bu üye için tanımlanan ve türe göre tanımlanan bir özel öznitelik dizisi döndürür.

GetCustomAttributes(Boolean)

Adlandırılmış öznitelikler hariç, bu üye için tanımlanan özel öznitelikler dizisini döndürür.

public override object[] GetCustomAttributes(bool inherit);
override this.GetCustomAttributes : bool -> obj[]
Public Overrides Function GetCustomAttributes (inherit As Boolean) As Object()

Parametreler

inherit
Boolean

devralınan özel özniteliğin hiyerarşi zincirini aramak için true; aksi takdirde false.

Döndürülenler

Object[]

Özel öznitelik dizisi veya özel öznitelik yoksa boş bir dizi.

Şunlara uygulanır

GetCustomAttributes(Type, Boolean)

Bu üye için tanımlanan ve türe göre tanımlanan bir özel öznitelik dizisi döndürür.

public override object[] GetCustomAttributes(Type attributeType, bool inherit);
override this.GetCustomAttributes : Type * bool -> obj[]
Public Overrides Function GetCustomAttributes (attributeType As Type, inherit As Boolean) As Object()

Parametreler

attributeType
Type

Döndürülecek özel özniteliklerin türü.

inherit
Boolean

devralınan özel özniteliğin hiyerarşi zincirini aramak için true; aksi takdirde false.

Döndürülenler

Object[]

Belirtilen türdeki özel öznitelikler yoksa, bir özel öznitelik dizisi veya boş bir dizi.

Şunlara uygulanır