XamlDirective.LookupCustomAttributeProvider Метод

Определение

Возвращает реализацию объекта ICustomAttributeProvider. Данная реализация всегда возвращает значение null.

protected:
 override System::Reflection::ICustomAttributeProvider ^ LookupCustomAttributeProvider();
protected override sealed System.Reflection.ICustomAttributeProvider LookupCustomAttributeProvider ();
override this.LookupCustomAttributeProvider : unit -> System.Reflection.ICustomAttributeProvider
Protected Overrides NotOverridable Function LookupCustomAttributeProvider () As ICustomAttributeProvider

Возвращаемое значение

Всегда возвращает значение null.

Комментарии

Поскольку директива XAML не может иметь настраиваемые атрибуты, эта реализация всегда возвращает .null XamlDirective запечатывает этот виртуальный элемент; Поэтому все XamlDirective типы и все предопределенные директивы XAML должны использовать это поведение.

Применяется к