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 指示詞都必須使用此行為。

適用於