LookupCustomAttributeProvider Method

XamlMember.LookupCustomAttributeProvider Method ()

.NET Framework 4.6 and 4.5

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

Namespace:   System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

protected virtual ICustomAttributeProvider LookupCustomAttributeProvider()

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.

.NET Framework
Available since 4.0
Return to top
© 2015 Microsoft