XamlMember.LookupCustomAttributeProvider Method ()

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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