Uredi

Deli z drugimi prek


XamlMember.LookupCustomAttributeProvider Method

Definition

When implemented in a derived class, returns an ICustomAttributeProvider implementation.

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

Returns

An ICustomAttributeProvider implementation.

Remarks

Override this method to provide the internal reflection with an alternative way to obtain CLR attribute values. In the absence of an override, the internal reflector uses typical CLR reflection logic such as calls to GetCustomAttributes.

The default implementation returns null.

Applies to