XamlMember.LookupCustomAttributeProvider メソッド

定義

派生クラスで実装される場合、ICustomAttributeProvider 実装を返します。

protected:
 virtual System::Reflection::ICustomAttributeProvider ^ LookupCustomAttributeProvider();
protected virtual System.Reflection.ICustomAttributeProvider LookupCustomAttributeProvider ();
abstract member LookupCustomAttributeProvider : unit -> System.Reflection.ICustomAttributeProvider
override this.LookupCustomAttributeProvider : unit -> System.Reflection.ICustomAttributeProvider
Protected Overridable Function LookupCustomAttributeProvider () As ICustomAttributeProvider

戻り値

ICustomAttributeProvider の実装。

注釈

CLR 属性値を取得する別の方法を内部リフレクションに提供するには、このメソッドをオーバーライドします。 オーバーライドがない場合、内部リフレクターでは、 の呼び出しなどの一般的な CLR リフレクション ロジックが GetCustomAttributes使用されます。

既定の実装では、null が返されます。

適用対象