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

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft